Use when apktool rebuilds fail on Android/Termux, especially around aapt2, resource compilation, signing, install failures, or shell-specific rebuild issues on-device.
Use this skill when the reverse workflow is blocked by rebuild, packaging, signing, or install failures.
apktool, aapt2, java, apksigner.which apktoolapktool --versionwhich aapt2aapt2 versionjava -version--aapt, not -a.aapt2 works directly but apktool still fails, verify what apktool actually invokes before blaming the binary.