Not all shared libraries being installed when app is installed

14 views
Skip to first unread message

Don Kneller

unread,
Apr 6, 2014, 3:18:14 PM4/6/14
to andro...@googlegroups.com
I'm having a funny problem with .so files, where one is not being installed from the APK by Android so unavailable from System#loadLibrary().  This issue is happening on all devices I tested, so is not an "out of flash" issue.  My original APK had a single 5M shared library (call it lib1).  I added a third party library that had 3 of its own shared libraries (call them lib2a (5M), lib2b (200k), lib2c (50k) ).  I can see all 4 .so files in the APK, but when installed on the device(s) only lib1, lib2b and lib2c get installed into /data/data/pkg/lib.  If I remove lib1 from the build, then all of lib2a, lib2b and lib2c get installed into /data/data/pkg/lib.  I can see no warnings during install that share libraries are not being installed.

Any help would be appreciated.
Reply all
Reply to author
Forward
0 new messages