On Sep 4, 5:26 am, tgh <
tgh1...@gmail.com> wrote:
> My problem is that why the .so file "libhello-jni.so" didn't be copied
> into "/data/data/com.example.hellojni/lib" automatically while
> HelloJni.apk as a system application??
My understanding is that, for a system APK, the shared library is also
expected to live in /system. Since /system is mounted read-only, this
has to be done as part of creating the system image.
When you use "adb install", the app lives in /data, so the shared
library lives there as well and is unpacked by the installer.