Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save barisesen/2ee8dd2ce3e53b587443d8e520dd136b to your computer and use it in GitHub Desktop.
Save barisesen/2ee8dd2ce3e53b587443d8e520dd136b to your computer and use it in GitHub Desktop.
Ubuntu 14.04 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
# 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
@barisesen
Copy link
Author

Java 7 hata verirse 8 denenmeli

@barisesen
Copy link
Author

Gradle Exec: a problem occurred starting process command for ubuntu 14.04
sudo apt-get install libgl1-mesa-dev:i386

@barisesen
Copy link
Author

Elle export etmek gerekirse izlenmesi gerek adım

export PATH=$PATH:/home/baris/android-sdk-linux/platform-tools:/home/baris/android-sdk-linux/tools:/home/baris/android-sdk-linux/build-tools/22.0.1/

@barisesen
Copy link
Author

~ ➤ vim /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/baris/sdk/android-sdk-linux/platform-tools /home/baris/sdk/android-sdk-linux/tools /home/baris/sdk/android-sdk-linux/build-tools/22.0.1/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment