Skip to content

Instantly share code, notes, and snippets.

@aaronmyatt
Last active February 22, 2016 00:33
Show Gist options
  • Save aaronmyatt/8847ac3eb85562be8c1d to your computer and use it in GitHub Desktop.
Save aaronmyatt/8847ac3eb85562be8c1d to your computer and use it in GitHub Desktop.
#Tested on Ubuntu/trusty64
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libgl1-mesa-dev:i386
sudo apt-get install openjdk-7-jdk
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz ~/
tar zxvf ~/android-sdk-linux
# At the time of writing, should definitely check the appropriate number using `android list sdk --all`
# Install the sdk required by ionic
# For convenience and assurance, install everything
# You may need to ensure your VM has adequate space, 50gb is sufficient.
android update sdk --no-ui
echo "PATH=${PATH}:~/android-sdk-linux/tools" >> ~/.profile
echo "PATH=${PATH}:~/android-sdk-linux/platforms/tools" >> ~/.profile
source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment