Skip to content

Instantly share code, notes, and snippets.

@DevSrSouza
Forked from rikyperdana/android-sdk-linux-cli
Created December 28, 2017 19:12
Show Gist options
  • Save DevSrSouza/b31679ff858281a844e2a94f61eaac8c to your computer and use it in GitHub Desktop.
Save DevSrSouza/b31679ff858281a844e2a94f61eaac8c to your computer and use it in GitHub Desktop.
Ubuntu 14.04 command line install android sdk
# install openjdk
sudo apt-get install openjdk-7-jdk lib32stdc++6 lib32z1
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz
# install all sdk packages
cd android-sdk-linux/tools
./android update sdk --no-ui
# set android-sdk path
pico ~/.bashrc
# add these lines on top, save, and exit
export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-tools
# reload bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment