Skip to content
CAI
Produce a survey ↗Verify a survey

iBotPeaches/Apktool

Apktool is a command-line utility for reverse-engineering, modifying, and rebuilding Android APK files. It provides comprehensive support for decoding and building APKs, including resource tables, XML manifests, and Smali bytecode, while also handling framework dependencies and multi-DEX structures. The system has been refactored from a mixed Java/Native codebase to a pure Java implementation, eliminating dependencies on external native libraries and improving security through secure XML and YAML parsing utilities.

60.9

Adequate · 29 July 2026

14k

lines of production code

Java

primary language

1

bus factor · 132 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2010–2012 · Native code removal and build modernization

This period focused on eliminating dependencies on native code (JNI) and C++ libraries, replacing them with pure Java implementations for resource and XML parsing. The project also modernized its build system by migrating to Gradle and refactoring the core APK decoding and building logic into dedicated, configurable components.

15 changes

2013–2023 · Build system modernization and architectural refactoring

This period focused on modernizing the project's build infrastructure by migrating to Gradle Kotlin DSL and implementing centralized dependency management. Concurrently, the codebase underwent significant architectural improvements, including the introduction of comprehensive unit tests, the restructuring of exception handling, and the refactoring of resource decoding and metadata serialization into dedicated classes.

9 changes

2024–2026 · Resource and XML parsing refactoring

This period focused on modernizing the codebase's handling of Android resources and XML data. The team introduced new domain models for resource tables and values, added utilities for secure and normalized XML processing, and implemented multi-DEX support for Smali compilation and disassembly.

11 changes

CAI lens gauges

Survey your own repository

iBotPeaches/Apktool was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 29 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ce59a80aa0 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards