Apktool reverse engineers third-party Android APK binaries, decodes resources and smali, supports edits, and rebuilds installable packages from a project-like tree.
Overview
Apktool targets closed, binary Android applications that need inspection or modification without original project sources. It decodes resources close to their original form, rebuilds them after changes, and exposes smali code for step-by-step debugging. A structured output layout and automated packaging steps reduce repetitive decode-and-build work.
Typical workflows include disassembly (`apktool d`), resource-focused analysis with a manifest-only mode flag, and reassembly (`apktool b`) after editing smali or XML. Documented uses include localization, permission changes, custom platform support, and similar maintenance tasks. The project explicitly discourages piracy and unlawful use.
Maintenance spans a current 3.x line and a 2.x maintenance branch. Documentation, install guidance, release downloads, and community channels are published on the project site. Security issues can be reported to the maintainer by email.
The tool is positioned for engineers who need to translate apps, tweak manifests or permissions, or inspect resources and manifests without producing a full rebuild.
Key features
- APK resource decode and rebuild
- Smali step-by-step debugging
- Project-style output directory
- Disassemble and assemble commands
- Manifest and resource analysis mode
- Automated APK build steps
- Localization-friendly resource editing
- Permission and manifest edits
Use cases
- Translating Android app strings
- Adjusting app permissions
- Inspecting third-party APK manifests
- Debugging smali bytecode
- Custom platform compatibility tweaks