Forked from wenzhixin/ubuntu14.04-command-line-install-android-sdk
Last active
August 21, 2018 01:07
-
-
Save rikyperdana/61b1a5008b757da35a745185bfed7374 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 command line install android sdk
This file contains hidden or 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
# 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
How do I check which is the newest version of android sdk of this link http://dl.google.com/android/android-sdk_r24.2-linux.tgz ?