Apktool is a collection of 1 project, containing sub-projects and a few dependencies.
The main project can be found below
We use gradle to build. It’s pretty easy. First clone the repository.
git clone git://github.com/iBotPeaches/Apktool.git
./gradlewfor unix based systems or
[./gradlew][gradlew.bat] build shadowJar- Builds Apktool, including final binary.
[./gradlew][gradlew.bat] build shadowJar proguard
After build completes you should have a jar file at:
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.