Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Android JNI, how to load library with soname libxx.so.1.2.3
- System.load("/data/local/tmp/libxx.so.1.2.3");
- System.loadLibrary("myjni");
- File privateStorageDir = applicationContext.getFilesDir();
- String libPath = privateStorageDir.getAbsolutePath(); // copy the lib to here ...
- System.load(libPath + "/" + SO_LIB_NAME);
Advertisement
Add Comment
Please, Sign In to add comment