Ubuntu 14.04 command line install android sdk
This file contains 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 | |
# 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 |
you are man of the material
would be awesome if you could merge my Fork :)
https://gist.github.com/Gnarmagon/1364394a9e4a88420a28b4db528392f3
(it copies the tar from everywhere into $HOME)
so helpful
Do notice that this script assumes you're using ZSH, not bash. Replace .zshrc
with .bashrc
to fix
amazing.saved my day.thanks a lot
Thank You
thanks
Thanks
thanks bro!
Thank you !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very usefull, thanks!!!