Decode, modify, and rebuild Android APK files with the `apktool` CLI (v3.x). Use when reverse-engineering an APK, decompiling resources/manifest to readable XML and smali, editing strings/layouts/AndroidManifest.xml/smali bytecode, rebuilding an APK after edits, signing a rebuilt APK so it installs, or installing system framework files. Triggers on mentions of 'apktool', 'decompile APK', 'decode APK', 'rebuild APK', 'smali', 'baksmali', 'AndroidManifest editing', 'resources.arsc', or 'reverse engineer Android app'. Covers the full decode → edit → build → align → sign loop and the common 'app not installed' / framework-resource errors.
2026-06-17