On 02/08/2016 03:50 AM, Jack Mingaw wrote:
> On 8 February 2016 at 12:43, Jack Mingaw <jack.mingaw at gmail.com> wrote:
>> 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
>
> I've just seen that someone ealier asked a similar question:
> http://lists.iotivity.org/pipermail/iotivity-dev/2016-January/003396.html
>


Hi,

Which version of the code are you running? I know a recent change went 
in to address some of the library loading issues

https://gerrit.iotivity.org/gerrit/#/c/4873/

Does that happen to address your immediate problem?

Reply via email to