Last active
May 24, 2017 18:43
-
-
Save wesleyit/37e52b8bf0227d2f36d2 to your computer and use it in GitHub Desktop.
This script will export many useful environment variables related to Android Studio and Android SDK.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ########################################################## | |
# set_android-studio_env.sh | |
# This script will export many useful environment variables | |
# related to Android Studio and Android SDK. | |
# Wesley Rodrigues da Silva <wesley.it at gmail.com> | |
# LICENCE CREATIVE COMMONS BY - 2014 | |
# http://creativecommons.org/licenses/by/2.0/legalcode | |
# ########################################################## | |
## Where is your Android Studio folder? | |
export ANDROID_STUDIO_HOME="/opt/android-studio" | |
## Ok, don't change this | |
export ANDROID_HOME="$ANDROID_STUDIO_HOME/sdk" | |
export ANDROID_BINDIRS="$ANDROID_STUDIO_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools" | |
export PATH="$ANDROID_BINDIRS:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment