Apktool is a project that contains a collection of subprojects and dependencies.
- brut.apktool.lib - Main Library
- brut.apktool.cli - CLI Interface
- brut.j.dir - Utility
- brut.j.util - Utility
- brut.j.common - Utility
- Navigate to the Apktool folder and for the remaining steps use
./gradlewfor Unix based systems or
- You can build the project in two ways:
- Without ProGuard:
[./gradlew][gradlew.bat] build shadowJar
Creating a jar file:
[./gradlew][gradlew.bat] build shadowJar proguard
- Creating a jar file:
Be aware of directory path length limitations on Windows.
Windows has some limitations regarding max filepath. At one location in Apktool, we have a 218 character directory path which means due to the limitation of max 255 characters on Windows we need to enforce some requirements.
This leaves 37 characters total to clone the project on Windows. For example, I can clone this project to the location
This is 31 characters, which allows Apktool to be cloned properly. Cloning the project into a directory longer than 37 characters will not work.