Skip to content Skip to sidebar Skip to footer

Getting The .so Files List Using Packagemanager

Is there way to get libs/nativearch/<.so files> listed from the package-manager. Considering that apps like apk-info do it, I guess there should be a way to get the supporte

Solution 1:

PackageManager won't tell you this directly.

However it will tell you the filename of the app's APK file (via ApplicationInfo.sourceDir), and you can then use ZipFile to iterate through all the files in the apk, to get a list of the files in the libs directory tree.

See also How to get the file *.apk location in Android device

Post a Comment for "Getting The .so Files List Using Packagemanager"