apktool-decompile

Decompile, modify, and repackage Android APK files with signing.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/warterbili/AUTO_REVERSE --skill apktool-decompile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apktool-decompile
Source: https://github.com/warterbili/AUTO_REVERSE/tree/main/skills/android/apktool-decompile
Command: npx skills add https://github.com/warterbili/AUTO_REVERSE --skill apktool-decompile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires apktool, keytool, apksigner, jarsigner.

What problem does it solve?

Manually decompiling, modifying, and repackaging Android APKs is time-consuming and error-prone, especially when handling framework dependencies, multi-dex files, and APK signing requirements for testing and analysis.

Core Features & Use Cases

  • Full APK Decoding: Converts APK files into readable resource files, smali bytecode, and extracts native libraries, with support for system framework files and multi-dex APKs.
  • Modify and Repackage Workflows: Enables safe modification of smali code or resources, then rebuilds and signs the modified APK for testing or deployment.
  • Helper Utilities: Includes pre-built scripts for quick APK analysis, targeted smali code search, and native library extraction to speed up reverse engineering tasks.
  • Use Case: For example, if you need to test how an Android app behaves when a license check is bypassed, use this skill to decode the APK, modify the relevant smali method to always return true, repackage and sign the APK, then install it on a test device.

Quick Start

Use the apktool-decompile skill to decode the target Android APK file, modify its smali code or resources as needed, then rebuild and sign the modified APK for installation on a test device.

Frequently Asked Questions about apktool-decompile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompile an Android APK to modify smali bytecode and resources?

Decompiling an Android APK converts the file into readable resources and smali bytecode, allowing you to modify the code, repackage the APK, and sign it for testing. The process supports multi-dex files and extracts native libraries.

How does APK decompilation handle multi-dex files and system framework dependencies?

APK decompilation handles multi-dex files by decoding each dex file into smali bytecode, while system framework dependencies are supported by loading framework files to correctly decode and rebuild resource references during modification.

Can I modify an APK and automatically sign it for installation on a test device?

Yes, after modifying the smali code or resources within a decompiled APK, the workflow rebuilds and automatically signs the modified APK, making it ready for deployment and installation on an Android test device.

Do I need keytool and apksigner to repackage a modified Android APK?

Yes, repackaging and signing a modified Android APK requires keytool or apksigner to generate keys and sign the application, ensuring the rebuilt APK is valid for installation on Android devices.

What is the best way to search smali code when reverse engineering an Android app?

The best way to search smali code during reverse engineering is using pre-built helper utilities that enable targeted smali code analysis, quick APK analysis, and native library extraction to speed up the workflow.

Why does decompiling an APK fail when system framework files are missing?

Decompiling an APK fails without system framework files because apktool relies on them to correctly decode the application's resources, causing errors during the extraction of readable resource files and smali bytecode.