Created
December 20, 2016 14:27
-
-
Save aryeharmon/85673d69b07c5b7061c38ac4323f409c to your computer and use it in GitHub Desktop.
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
sudo add-apt-repository ppa:openjdk-r/ppa | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre | |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages | |
./android update sdk --no-ui | |
# set path | |
vi ~/.zshrc << EOT | |
export PATH=${PATH}:$HOME/sdk/android-sdk-linux/platform-tools:$HOME/sdk/android-sdk-linux/tools:$HOME/sdk/android-sdk-linux/build-tools/22.0.1/ | |
EOT | |
source ~/.zshrc | |
# adb | |
sudo apt-get install libc6:i386 libstdc++6:i386 | |
# aapt | |
sudo apt-get install zlib1g:i386 |
However lands here from google like me, you can do this on ubuntu 16.04
apt-get install android-tools-adb
@jdthharrell 'openjdk-7-jre
' is no longer in the repositories.. instead change the 7 for 'openjdk-8-jre
'
Thanks!
Thanks, the instructions are very good !!!
YES! Tank you
ok thank .. for an error pear use
./android update sdk --no-ui --no-https
for fix get an pear error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank u very much, it's work for me