1

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.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Bob Lander
  • 11
  • 1
  • https://android.stackexchange.com/questions/122280/download-purchased-apk-from-play-store – William Jan 27 '21 at 23:13
  • Would it be possible to elaborate on how I would use this to find the libraries/dependencies? – Bob Lander Jan 27 '21 at 23:17
  • that might be more of a StackOverflow question. I just left as a comment because it's helpful. Your best bet is a decompiler. https://stackoverflow.com/questions/43752446/how-to-decompile-an-android-app-from-the-google-play-store – William Jan 27 '21 at 23:23
  • I tried decompiling. Did not provide me with any useful info – Bob Lander Jan 27 '21 at 23:28
  • you're going to have to read the source code. – William Jan 27 '21 at 23:28
  • Libs aren't extracted to that path if extractNativeLibs=false is set. Simply get the APK file and explore with any ZIP explorer, even without decompiling. Libraries are in lib 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

0 Answers0