Hi,

Did anyone try to run iotivity on Android Marshmallow?

I got :

02-08 11:27:55.986 4413-4413/com.app.fr.example E/AndroidRuntime:
FATAL EXCEPTION: main
    Process: com.app.fr.example, PID: 4413
        java.lang.UnsatisfiedLinkError: dlopen failed: library
"./obj/local/armeabi/liboc.so" not found
         at java.lang.Runtime.loadLibrary(Runtime.java:372)
         at java.lang.System.loadLibrary(System.java:1076)
         at org.iotivity.base.OcPlatform.<clinit>(OcPlatform.java:43)
         at com.app.fr.example.iotivity.Connexion.startClient(Connexion.java:35)
         at 
com.app.fr.example.activity.MainActivity.onCreate(MainActivity.java:83)
         at android.app.Activity.performCreate(Activity.java:6272)
         at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
         at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
         at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
         at android.app.ActivityThread.access$900(ActivityThread.java:157)
         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
         at android.os.Handler.dispatchMessage(Handler.java:102)
         at android.os.Looper.loop(Looper.java:148)
         at android.app.ActivityThread.main(ActivityThread.java:5525)
         at java.lang.reflect.Method.invoke(Native Method)
         at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

Cheers,

Jack

Reply via email to