Skip to content

Instantly share code, notes, and snippets.

@dianjuar
Created April 10, 2017 03:22
Show Gist options
  • Save dianjuar/a86814b592dad96cfa9d9540cb5acbe0 to your computer and use it in GitHub Desktop.
Save dianjuar/a86814b592dad96cfa9d9540cb5acbe0 to your computer and use it in GitHub Desktop.
install android SDK on arch linix

Install Android SDK on Arch Linux

1. Download Android SDK on your computer

yaourt android-sdk-platform-tools
yaourt android-udev
yaourt android-sdk

2. Create global variables on system

On ~/.bashrc of you are using bash or ~/.zshrc if you are using zsh in the last line put

export ANDROID_HOME=/opt/android-sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools

3. Restart your console and you are ready to go.

Written with StackEdit.

@rempas
Copy link

rempas commented Jun 18, 2024

Thank you for the information!

For anyone using flutter, you may also have to install android-sdk-cmdline-tools-latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment