Java Question Error while running b4a project when Import library that use native library inside.


New Member
Hello All,
I'm trying to import Speex library to my B4A project, Speex library depend on native library JNA, I was able to import the library to my project and it compiles fine but when running I got this error :
- java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-arm/ not found in resource path.
Do I have to put somewhere in my B4A project, Or in my java project before generate jars? . (I'm using eclipse btw).



B4X founder
Staff member
Licensed User
Longtime User


New Member
I tried everything I still got error, I put the .so files in lib folder, I also checked the jar it contains the .so files in the lib folder, Also the APK generated contains the .so files in the lib folder