Skip to content Skip to sidebar Skip to footer

Moving Native Libraries From Android App To System Lib And Accessing It From App

I have compiled one native code with android ndk. Now instead of keeping that library as part of .apk i want install it in android system (system/lib64) and my application load fro

Solution 1:

Applications are not allowed to access non-public APIs from system library locations: https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk. Libraries used by your app must be packaged with your app.

Why do you want to put them in /system/lib anyway?

Post a Comment for "Moving Native Libraries From Android App To System Lib And Accessing It From App"