Build Latest ApkTool Jar From Source At “iBotPeaches/Apktool” Git-Repository Using Cygwin

  1. set JAVA_HOME="C:\PROGRA~1\Java\JDK19~1.0"
  2. git clone --recursive git://github.com/iBotPeaches/Apktool.gitgit -c http.sslVerify=false clone --recursive https://github.com/iBotPeaches/Apktool.git
  3. cd Apktool
  4. ./gradlew applyPatches – Applies smali patches, creating brut.apktool.smali directory.
  5. ./gradlew build fatJar – Builds Apktool, including final binary.
  6. ./gradlew - Optional - build fatJar Proguard jar too

After 1-2 minutes you should have a jar file at

./brut.apktool/apktool-cli/build/libs/apktool-xxxxx.jar