Android Question #Additionaljar - java.lang.UnsatisfiedLinkError

MarcoRome

Expert
Licensed User
Longtime User
Hi all, i have this error:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/b4a.example-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libIrLib-jni.so"~e: at java.lang.Runtime.loadLibrary(Runtime.java:366)

I copy this file ( libIrLib-jni.so ) in library folder.

Any idea ?
Thanks
Marco
 

wonder

Expert
Licensed User
Longtime User
How are you compiling the Java lib? Eclipse or SLC?
If you're using SLC, the .so file should be in additional\lib\<abi>, if I'm not mistaken.

Here's what works for me:
Capture.png
 
Last edited:
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
How are you compiling the Java lib? Eclipse or SLC?

If you're using SLC, the .so file should be in additional\lib\<abi>, if I'm not mistaken.
Here's what works for me:
Capture.png
Hi Wonder thanks for you response, i'm using in B4A ( #Additionaljar ). I think i'll do a little wrapper
 
Upvote 0
Top