I found a file path from Where Android apps store data?
/data/app/<pkg>*/lib/<arch>/*.so
(shared libraries)
However, this only shows libraries for some apps.
Is there another location where shared libraries are stored for an app? If not, is there a way to find this information from the APK or such?
Note: I have root on my phone.
extractNativeLibs=false
is set. Simply get the APK file and explore with any ZIP explorer, even without decompiling. Libraries are inlib
directory. But if not being loaded by Android's dynamic linker/loader, apps can store native code in other locations too (e.g.assets
,raw
) and may extract to any path where they have write access. App's dependencies on OS native code are obviously already there on device in/system/lib*
directories. – Irfan Latif Jan 28 '21 at 14:58