Android application cannot find jni library when installed as a system application

Recently, I meet such a problem when I use jni with android application, when apk is built, test.so is placed in lib / armeabi / in apk package, when I install this apk as a user application, it can start and find the library when using System.LoadLibrary () to find it. and when I install it in system / app, it cannot find the library. Has anyone encountered such a problem before and could not tell me how to solve this, thanks for any suggestions.

+5
source share
1 answer

This answer in the Android NDK group seems to have your answer:

http://groups.google.com/group/android-ndk/browse_thread/thread/bfceac612dceae8c/7f2b8b48a87c2a52?show_docid=7f2b8b48a87c2a52

, , , /system read-only, , APK + factory.

+7

All Articles