-
-
Save aryeharmon/85673d69b07c5b7061c38ac4323f409c to your computer and use it in GitHub Desktop.
| 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 |
Thanjs you!
*Thank you. Touch screen keyboards. Pfft.
Now I am stuck at step or line 3 any help LOOOK:
nonymous@anonymous-Aspire-E5-571:~$ sudo apt-get install openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'openjdk-7-jre' has no installation candidate
thank u very much, it's work for me
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
Just wanted to say thanks, this works well for me.