Apktool README

The project's README from github.com/iBotPeaches/Apktool. As one markdown file: README.md.

Apktool

This is the repository for Apktool. The website is at the apktool.org repository.

CI Software License

Apktool is a tool for reverse engineering third-party, closed, binary, Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes it possible to debug smali code step-by-step. It also makes working with apps easier thanks to project-like file structure and automation of some repetitive tasks such as building apk, etc.

Apktool is NOT intended for piracy and other non-legal uses. It could be used for localizing and adding features, adding support for custom platforms, and other GOOD purposes. Just try to be fair with the authors of an app, that you use and probably like.

Branches

Support

Security Vulnerabilities

If you discover a security vulnerability within Apktool, please send an e-mail to Connor Tumbleson at connor.tumbleson(at)gmail.com. All security vulnerabilities will be promptly addressed.

Sponsors

Special thanks goes to the following sponsors:

Sourcetoad

Sourcetoad is an award-winning software and app development firm committed to the co-creation of technology solutions that solve complex business problems, delight users, and help our clients achieve their goals.

Emerge Tools

Emerge Tools is a suite of revolutionary products designed to supercharge mobile apps and the teams that build them.

Apktool (iBotPeaches/Apktool)

Searching Database…

这是干什么的?Apktool 是一款命令行工具,用于对第三方闭源的二进制安卓应用做逆向工程。它能把 APK 里的资源解码成接近原始的可编辑形态,在你修改之后还能把应用重新打包回去。
它是图形界面应用还是命令行工具?跟直接解压 APK 有什么区别?是命令行工具。跟单纯解压不同,它能把编译过的资源解码成接近原始的可编辑形态,并重新打包出可用的 APK,还会生成类似项目的文件夹结构,并自动完成重新打包的各个步骤。
我怎么把它跑起来?从 apktool.org 上的 Downloads 链接下载一个预编译版本,然后在终端里运行即可。你也可以按照仓库里的“如何构建”(How to Build)指南自己编译(CI 使用 Gradle 构建)。
运行它需要安装 Java 吗?需要。Apktool 用 Java 编写、用 Gradle 构建,所以必须有 Java 运行环境。作为 JVM 工具,它在 Windows、macOS 和 Linux 上都能运行。
我下载的任何应用都能用它来处理吗?作者明确表示它不适合用于盗版或其他非法用途。正当的用途包括给应用做本地化、添加功能或适配自定义平台——同时对应用的原始作者保持尊重。
应用解码之后,我能调试它的代码吗?可以。Apktool 支持对 smali 代码逐步调试,这样你就能在字节码层面追踪一个闭源应用到底在做什么。
它能处理图片、字符串这类资源吗?它会把这类资源解码回接近原始、可直接编辑的形态——仓库甚至专门处理 9-patch 图片和安卓编译后的 arsc 资源表——这样你就能修改它们并重新打包 APK。
它是免费的吗?我能用在自己的项目里吗?可以。根据仓库的元数据,Apktool 是基于 Apache-2.0 许可证的开源软件,可以免费运行、修改和再分发。
What are similar projects?jadx, ASC, radare2, ida-pro-mcp, rea, ghidra, rea, bytecode-viewer
Size
353 MB
Stars
26K
Age
14y
Commits · 90 Days