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

JAVA_HOME, JDK_HOME, JRE_HOME For Compatible Android SDK

You need to follow the system-requirements, and install the minimal Java-SDK (JDK) version in-order to support Android SDK development tookit (for example, did you know you can’t compile anything if you are using JDK v9 ? :) )…
Continue reading