I developed application with native libraries. In regular case it working correctly, but when I move it in /system/app after reloading I seen what missed /data/app-lib/com.my.app folder with *.so files. However, symlink lib
in /data/data/com.my.app exist.
Device Nexus 4
Please help me to resolve this situation. Any help will be appreciated
I'd be surprised if the OP has been searching for the answer for half a decade, and I don't think this fix existed back then, but for other people searching their way here today:
For some reason, Android doesn't extract native libraries from apps in /system/priv-app. It just symlinks /data/data/app/lib -> /system/priv-app/app/lib. This means you need to also copy all libraries into /system/priv-app/app/lib. If you're building in Windows, make sure to also chmod the library to 0755 after copying it in.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.