Create a gist now

Instantly share code, notes, and snippets.

anonymous /android_studio_on_ubuntu
Created May 1, 2015

Ubuntu 14 Android Studio setup notes
#requires java 7
sudo apt-get install default-jdk
#getting the packages
mkdir Android
cd Android
wget http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz
tar -xvzf android-sdk_r24.0.2-linux.tgz
wget https://dl.google.com/dl/android/studio/ide-zips/1.1.0/android-studio-ide-135.1740770-linux.zip
unzip android-studio-ide-135.1740770-linux.zip
#add $PATH to end of ~/.bashrc file
export PATH=$PATH:~/Android/android-studio/bin
#required packages
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
#setup the KVM (virtual machine)
#verify kvm is funtional before running android studio setup.
#http://sharadchhetri.com/2014/10/09/install-kvm-kernel-based-virtual-machine-ubuntu-14-04-lts-desktop/
#https://help.ubuntu.com/community/KVM/Installation
sudo apt-get install qemu-kvm libvirt-bin bridge-utils
sudo apt-get install virt-manager
sudo apt-get install qemu-system
#logout or reboot
#start studio by opening termainal and run studio.sh
#update the sdk and add emulators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment