Skip to content

Instantly share code, notes, and snippets.

@reime005
Created June 23, 2019 11:57
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 reime005/61f50915e193e468d54017710f8866f9 to your computer and use it in GitHub Desktop.
Save reime005/61f50915e193e468d54017710f8866f9 to your computer and use it in GitHub Desktop.
Setup of the basic environment variables required to use Android tools (emulator, sdkmanager, adb, ...) via the command line interface (macOS)
#!/bin/sh
export ANDROID_HOME=$HOME/Library/Android/sdk
export ANDROID_SDK=$ANDROID_HOME
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/emulator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment