Hi Michael,


Did you build with 1.1 branch version and test on Android 6.0 device?

If yes, please try to apply this 
patch(https://gerrit.iotivity.org/gerrit/#/c/7595/) for marshmallow which is 
only on master now



BR, Uze Choi

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of ???
Sent: Wednesday, April 27, 2016 1:07 PM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Android app crash with sdk version 23



Hi.

I was trying to use iotivity library in our android application with 
targetSDKVersion 23. But there is a crash at runtime with UnsatisfiedLinkError.

E/AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library 
"./obj/local/armeabi/liboc.so" not found
E/AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
E/AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
E/AndroidRuntime: at org.iotivity.base.OcPlatform.(OcPlatform.java:43)
E/AndroidRuntime: at 
org.iotivity.base.examples.SimpleServer.startSimpleServer(SimpleServer.java:76)
E/AndroidRuntime: at 
org.iotivity.base.examples.SimpleServer.access$000(SimpleServer.java:56)
E/AndroidRuntime: at 
org.iotivity.base.examples.SimpleServer$1$1.run(SimpleServer.java:153)
E/AndroidRuntime: at java.lang.Thread.run(Thread.java:818)

I heard PIC build could be a way to resolve this issue. Please let me know how 
to use this (for example, build script or anything else.) if anyone know this.

Or, are there solutions to use iotivity library without error? If then, please 
let me know.

Thanks,
Micheal Lee


  
<http://mail.naver.com/readReceipt/notify/?img=I9eX1HFCpr%2BCMotYarwCp6F4azJ0Mx%2BCaAkoFxgwKAKZFoMXKAM%2FKzFvtzFRWriGWzkXp6UmFVl5WLl51zlqDBFdp6d5MreRhoRGWX3G%2B40dDL9vpBpgWz0q%2BHK516ed1BpG%2BHv5WXiN.gif>
 



-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160427/e7aa96ec/attachment.html>

Reply via email to