How to view the contents of an Android APK file?


Question

Is there a way to extract and view the content of an .apk file?

1
99
10/31/2017 8:26:39 AM

Accepted Answer

Actually the apk file is just a zip archive, so you can try to rename the file to theappname.apk.zip and extract it with any zip utility (e.g. 7zip).

The androidmanifest.xml file and the resources will be extracted and can be viewed whereas the source code is not in the package - just the compiled .dex file ("Dalvik Executable")

115
8/30/2010 9:29:28 AM

It's shipped with Android Studio now. Just go to Build/Analyze APK... then select your APK :)

enter image description here


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon