iotivity-lite icon indicating copy to clipboard operation
iotivity-lite copied to clipboard

dlopen error occurs in Android when v2.2.5.2 is applied

Open Askidea opened this issue 3 years ago • 1 comments

git TAG : v2.2.5.2 iotivity-lite/port/android$ make NDK_HOME=~/toolchains/ndk18-android-arm-23 ANDROID_API=23 DEBUG=1 CLOUD=1 SECURE=1 IPV4=1 TCP=1 PKI=1 DYNAMIC=1 JAVA=1

Following error occured.

2022-09-19 11:27:43.866 17396-17396/net.quber.sm.ocfclient W/System.err: Native code library failed to load. 2022-09-19 11:27:43.866 17396-17396/net.quber.sm.ocfclient W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "oc_tcp_connection_state" referenced by "/data/app/net.quber.sm.ocfclient-ll2akxP-1MGi8-XUchUsmA==/base.apk!/lib/armeabi/libiotivity-lite-jni.so"... 2022-09-19 11:27:43.868 17396-17396/net.quber.sm.ocfclient I/ient:apiservic: System.exit called, status: 1 2022-09-19 11:27:43.868 17396-17396/net.quber.sm.ocfclient I/AndroidRuntime: VM exiting with result code 1, cleanup skipped.

Askidea avatar Sep 19 '22 02:09 Askidea

@Askidea Does this still occurr with NDK v23 or later and current master?

Danielius1922 avatar Sep 19 '23 16:09 Danielius1922