如何从APK文件中查看AndroidManifest.xml?

本文翻译自:How to view AndroidManifest.xml from APK file?

Is it possible to view Androidmanifest.xml file? 是否可以查看Androidmanifest.xml文件?

I just changed the extension of the apk file to zip . 我刚刚将apk文件的扩展名更改为zip This zip file contains the Androidmanifest.xml file. zip文件包含Androidmanifest.xml文件。 But I am unable view the contents of Androidmanifest.xml . 但我无法查看Androidmanifest.xml的内容。 It is fully encrypted. 它是完全加密的。

How can I view the Androidmanifest.xml file? 如何查看Androidmanifest.xml文件?


#1楼

参考:https://stackoom.com/question/hAt4/如何从APK文件中查看AndroidManifest-xml


#2楼

The AXMLParser and APKParser.jar can also do the job, you can see the link. AXMLParserAPKParser.jar也可以完成这项工作,你可以看到链接。 AXMLParser AXMLParser


#3楼

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. 这是一个旧线程,但我想我会提到,你的手机有root权限,你可以使用root explorer app在手机上直接查看。 You don't even have to extract it to see. 你甚至不必提取它来看。


#4楼

aapt d xmltree com.package.apk AndroidManifest.xml

will dump the AndroidManifest.xml from the specified APK. 将从指定的APK转储AndroidManifest.xml It's not in XML form, but you can still read it. 它不是XML格式,但您仍然可以阅读它。

aapt (Android Asset Packaging Tool) is a built in tool that comes with the Android SDK. aapt (Android资产包装工具)是Android SDK附带的内置工具。


#5楼

There is an online tool that lets you upload an APK It decompiles it and finally lets you to download a zip with all sources, manifest XML file and so on decompiled, all of that without having to install any program on your computer: http://www.javadecompilers.com/apk 有一个在线工具,可以让你上传一个APK它反编译它,最后让你下载一个包含所有来源的zip,清单反编译的XML文件等,所有这一切都无需在你的计算机上安装任何程序: http:/ /www.javadecompilers.com/apk

Also if you wish just to check on some params you can, by their UI 此外,如果您希望通过他们的UI检查一些参数


#6楼

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

aapt dump xmltree gmail.apk AndroidManifest.xml > AndroidManifest.txt
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值