# Download and unpack the SDK from
# http://developer.android.com/sdk/index.html
-wget http://dl.google.com/android/android-sdk_r21.1-linux.tgz
-tar xzvf android-sdk_r21.1-linux.tgz
+wget http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz
+tar xzvf android-sdk_r24.3.4-linux.tgz
# Add "platform-tools" and "tools" to the PATH
export ANDROID_HOME=$ANDROID_BASE_DIR/android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
# List packages
-android list sdk --extended
+android list sdk --all --extended
# Install packages. Use this same command line to update the packages
-android update sdk --no-ui --filter platform-tools,android-17,sys-img-17,extra-android-support
+android update sdk --no-ui --all --filter tools,platform-tools,build-tools-23.0.1,android-17,sys-img-x86-android-17,extra-android-support
# Check what targets are available
android list targets