Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pmolchanov/ae474ad3d4448d84666b to your computer and use it in GitHub Desktop.
Save pmolchanov/ae474ad3d4448d84666b to your computer and use it in GitHub Desktop.
Ubuntu 15.10 command line install android sdk
# 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
# Add to path
cat <<EOT >> ~/.profile
export PATH=\${PATH}:${HOME}/android-sdk-linux/platform-tools:${HOME}/android-sdk-linux/tools:${HOME}/android-sdk-linux/build-tools/23.0.2/
EOT
source ~/.profile
# adb
sudo apt-get install libc6:i386 libstdc++6:i386
# aapt
sudo apt-get install zlib1g:i386
# Next Steps:
# * Enable USB debugging on device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment