recently I meet such problem, when I use jni with android application , when the apk is built , the test.so is put in lib/armeabi/ in the apk package , when I install this apk as user application , it can run and find the library when use System.LoadLibrary() to find it . while when I install it in system/app , it can't find the library . anyone meet such kind of problem before and could you tell me how to solve this , thanks very much for any suggestions .
This answer on the Android NDK group seems to have your answer:
http://groups.google.com/group/android-ndk/browse_thread/thread/bfceac612dceae8c/7f2b8b48a87c2a52?show_docid=7f2b8b48a87c2a52
In a nutshell it looks like you cannot do it because /system
is mounted read-only
which means that you the APK+library are installed in the factory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With