Java Question .so files missing inside compiled jar

Johan Schoeman

Expert
Licensed User
Longtime User
I have a project that is set up like this:


upload_2017-8-30_18-58-20.png


The 2 x .so files are inside the armeabi and armeabi-v7a folders. But once I have compiled the library the .so files are not there......:

upload_2017-8-30_19-1-30.png


Just a folder "lib.armeabi" with no .so files....? First time that I experience this problem when compiling .so files along with Java code into a JAR.

Can someone please advise what the issue might be? I am using SLC to compile the library with.

Thanks
 

Johan Schoeman

Expert
Licensed User
Longtime User
You won't see the files with Eclipse. Open the jar it with 7zip and check.
Thanks Erel - it seems to be working on the target device (which I don't have). I used jd-gui to look into the jar. Some other jars that in look into using jd-gui does shoew the .so files inside the jar. So, was just a bit puzzled why this jar only shows the lib.armeabi folder and not the .so files when using jd-gui to look at it. I will look at it with 7zip a bit later today
 
Top