Java Question Loading .SO files & wrappers

tchart

Well-Known Member
Licensed User
Longtime User
Im wrapping a library that contains .SO files in the supplied JAR file.

If I include the .SO files in my wrapper JAR then my wrapper works fine.

If I dont include the .SO files in my wrapper JAR the I get a "cant load .SO file" error and my app crashes. I unzipped the APK file and the .SO files are present (becuase they are included in the JAR file from the supplier).

So Im left wondering, why do the libraries not load correctly if they are only included in the supplied JAR file?
 

tchart

Well-Known Member
Licensed User
Longtime User
Thank you Erel. Thats what I thought but for some reason the app crashes if I dont include the .SO files in my wrapper. I'll double check that the binaries in the supplied library are the same as the ones I include in the wrapper.
 
Top