Hello David Turner
Here is a follow-up question:
In the situation of "JNI ---> libA.so ---> libB.so", what if libA.so
loads libB.so from "/data/data/<appname>/lib" (libA.so will be given
full path for loading libB.so, i.e. /data/data/<appname>lib/libB.so).
Would this also not work?
If this works both libraries can be put in $PROJECT_PATH/libs/armeabi/
and PackageManager will take care of the rest...
On Aug 28, 6:29 am, David Turner <
di...@android.com> wrote:
> It won't work in Cupcake due to a bug in the dynamic linker.More
> specifically, libB.so will not be loaded even if you loaded libA.so
> previously.
>
> I believe this is fixed in Donut though.
>
> Also, you need to put your libraries into $PROJECT_PATH/libs/armeabi/
> to have them properly packaged in the .apk and automatically installed by
> the PackageManager
> into /data/data/<appname>/lib at runtime.
>