Skip to content

Instantly share code, notes, and snippets.

@NickJian
Last active June 19, 2017 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NickJian/cda2856304833e439280d3b2fc553ec8 to your computer and use it in GitHub Desktop.
Save NickJian/cda2856304833e439280d3b2fc553ec8 to your computer and use it in GitHub Desktop.
for apk in $(find ./<project path>/build/outputs/ -name '*.apk' );
do
printf "\nshrinking ${apk}\n"
java -jar andredguard/AndResGuard-cli-1.1.11.jar $apk -config ./andredguard/config.xml -zipalign ./andredguard/zipalign_unix
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment