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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160427/b61b0e37/attachment.html>
