From: Antonio Ospite Date: Thu, 8 Oct 2015 21:35:02 +0000 (+0200) Subject: Update the android-sdk and install more packages X-Git-Url: https://git.ao2.it/android/android-app-development-getting-started.git/commitdiff_plain/45d03c74a2e279801440bc35594e69ed985c4e44?hp=0f30c7c101e4df20f31888c5466a64b6fc8f34b4 Update the android-sdk and install more packages --- diff --git a/android-app-development-getting-started.sh b/android-app-development-getting-started.sh index faee212..29090f1 100755 --- a/android-app-development-getting-started.sh +++ b/android-app-development-getting-started.sh @@ -13,18 +13,18 @@ cd $ANDROID_BASE_DIR # 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