Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ali-farhad/dc5aa5160b5d462a416f1a8faa7cfd3c to your computer and use it in GitHub Desktop.
Save ali-farhad/dc5aa5160b5d462a416f1a8faa7cfd3c to your computer and use it in GitHub Desktop.
add android sdk paths to linux/fedora/ubuntu/gnome
sudo nano .bash_profile
=> Add the following lines to .bash_profile after the “User specific environment and startup programs” comment:
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment