when wrap a library,can i put .so in another folder?
because i need 2 type .so file,they cannot working together.the app always crash.
Hello,
If you are using SLC then :
1-Rename First .so file for example : libfirstlib.so
2-Rename Second .so file for example : libsecondlib.so
3-Put the Jni (.SO) libraries in additional folder
4-When you are loading the native libraries in the java :
First library :
System.loadLibrary("firstlib");
Second Library :
System.loadLibrary("secondlib");
5- Click on "Compile" in SLC and it should work without any problems.
-----
The resulted jar from SLC structure will be :
Thank you,
Saif