Is it possible to view Androidmanifest.xml
file?
I just changed the extension of the apk
file to zip
. This zip
file contains the Androidmanifest.xml
file. But I am unable view the contents of Androidmanifest.xml
. It is fully encrypted.
How can I view the Androidmanifest.xml
file?
Yes you can view
XML
files of anAndroid APK
file. There is a tool for this:android-apktool
How to do this on your Windows System:
Now copy the
APK
file also in that directory and run the following command in your command prompt:This will create a directory "
HelloWorld
" in your current directory. Inside it you can find theAndroidManifest.xml
file in decrypted format, and you can also find otherXML
files inside the"HelloWorld/res/layout"
directory.Here
HelloWorld.apk
is your Android APK file.See the below screen shot for more information:
aapt d xmltree com.package.apk AndroidManifest.xml
will dump the
AndroidManifest.xml
from the specified APK. It's not in XML form, but you can still read it.aapt
(Android Asset Packaging Tool) is a built in tool that comes with the Android SDK.This is an old thread, but I thought I would mention, of your phone has root, you can view it directly on your phone using the root explorer app. You don't even have to extract it to see.
You can also use my app, App Detective to view the manifest file of any app you have installed on your device.
Google has just released a cross-platform open source tool for inspecting APKs (among many other binary Android formats):
The file needs to be decompiled (or deodex'd not sure which one). But here's another way to do it: