如何从 APK 文件查看 AndroidManifest.xml? [英] How to view AndroidManifest.xml from APK file?

查看:52
本文介绍了如何从 APK 文件查看 AndroidManifest.xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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.

如何查看Androidmanifest.xml 文件?

推荐答案

是的,您可以查看 Android APK 文件的 XML 文件.有一个工具:android-apktool

Yes you can view XML files of an Android APK file. There is a tool for this: android-apktool

它是逆向工程的工具 3rd派对、封闭式、二进制 Android 应用

It is a tool for reverse engineering 3rd party, closed, binary Android apps

如何在您的 Windows 系统上执行此操作:

How to do this on your Windows System:

  1. 下载 apktool-install-windows-* 文件
  2. 下载 apktool-* 文件
  3. 将两者解压到您的 Windows 目录

现在将 APK 文件也复制到该目录中,并在命令提示符中运行以下命令:

Now copy the APK file also in that directory and run the following command in your command prompt:

apktool d HelloWorld.apk ./HelloWorld

这将在您的当前目录中创建一个目录HelloWorld".在里面你可以找到解密格式的AndroidManifest.xml文件,你也可以在"HelloWorld/res/layout"中找到其他XML文件代码>目录.

This will create a directory "HelloWorld" in your current directory. Inside it you can find the AndroidManifest.xml file in decrypted format, and you can also find other XML files inside the "HelloWorld/res/layout" directory.

这里 HelloWorld.apk 是您的 Android APK 文件.

Here HelloWorld.apk is your Android APK file.

有关详细信息,请参阅以下屏幕截图:

See the below screen shot for more information:

这篇关于如何从 APK 文件查看 AndroidManifest.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆