Skip to content

Instantly share code, notes, and snippets.

@stefanhoth
Last active August 29, 2015 14:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanhoth/593451dfb4576ec9a21c to your computer and use it in GitHub Desktop.
Save stefanhoth/593451dfb4576ec9a21c to your computer and use it in GitHub Desktop.
Jack & Jill command line helpers. Put them in a directory in your PATH, e.g. <android-sdk>/. Use .bat files for Windows, .sh for Mac/Linux. More info in the documentation: http://tools.android.com/tech-docs/jackandjill
@ECHO OFF
@REM Jack is only available from build tools version 21.1.0 and up. Install/Update via SDK Manager
SET BUILD_TOOLS_VERSION=21.1.2
java -jar %ANDROID_HOME%/build-tools/%BUILD_TOOLS_VERSION%/jack.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
# Jack is only available from build tools version 21.1.0 and up. Install/Update via SDK Manager
BUILD_TOOLS_VERSION=21.1.2
java -jar $ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/jack.jar $@
@ECHO OFF
@REM Jill is only available from build tools version 21.1.0 and up. Install/Update via SDK Manager
SET BUILD_TOOLS_VERSION=21.1.2
java -jar %ANDROID_HOME%/build-tools/%BUILD_TOOLS_VERSION%/jill.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
# Jill is only available from build tools version 21.1.0 and up. Install/Update via SDK Manager
BUILD_TOOLS_VERSION=21.1.2
java -jar $ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/jill.jar $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment