是否可以查看Androidmanifest.xml文件?

我刚刚把apk文件的扩展名改成了zip。此zip文件包含Androidmanifest.xml文件。但是我无法查看Androidmanifest.xml的内容。它是完全加密的。

如何查看Androidmanifest.xml文件?


当前回答

使用axmldec解码AndroidManifest.xml文件:

axmldec -o output.xml AndroidManifest.xml

or

axmldec -o output.xml AndroidApp.apk

其他回答

另一种选择是使用Jadx: https://github.com/skylot/jadx

打开你的APK,在树视图中选择“AndroidManifest.xml”。 它就像这样可读。

另一个有用的(基于python的)工具是Androguard,使用它的axml子命令:

androguard axml my.apk -o my.xml

这将一次性提取和解码应用程序清单。与apktool不同,它不解包其他任何东西。

您可以使用这个命令:保存到文件AndroidManifest.txt

aapt dump xmltree gmail.apk AndroidManifest.xml > AndroidManifest.txt

aapt d xmltree com.package.apk AndroidManifest.xml

将从指定的APK转储AndroidManifest.xml。它不是XML格式的,但仍然可以阅读。

aapt (Android资产打包工具)是Android SDK自带的内置工具。

文件需要被反编译(或deodex不确定哪一个)。但这里有另一种方法:

-Download free Tickle My Android tool on XDA: https://forum.xda-developers.com/showthread.php?t=1633333https://forum.xda-developers.com/showthread.php?t=1633333
-Unzip
-Copy APK into \_WorkArea1\_in\ folder
-Open "Tickle My Android.exe"
-Theming Menu
-Decompile Files->Any key to continue (ignore warning)
-Decompile Files->1->[Enter]->y[Enter]
-Wait for it to decompile in new window... Done when new window closes
-Decompiled/viewable files will be here: \_WorkArea3\_working\[App]\