Build ApkTool

Posted at

First clean and pull the respository, use: https://gist.github.com/eladkarako/2a9fc44d315c34cbeea44cb10c96c2b2#file-git_cleanup_update-cmd



You need to pass as an argument the path where you've checked-out the APKTool repository,
and when asked for branch hit ENTER to use master.

Next open CMD, change dir to the APKTool folder and run: call "gradlew.bat" "build" "shadowJar" -x "test" to quick build the JAR (skipping running any tests..).

Finally run: explorer ".\brut.apktool\apktool-cli\build\libs" to quickly get into the place where the newly generated JAR is placed.


See the article Unofficial ApkTool,
where you can found a download link for a recently-updated JAR.