Update SDK build tools to 24.0.1
[termux-packages] / scripts / setup-android-sdk.sh
index 697ed59..e648cfc 100755 (executable)
@@ -30,7 +30,7 @@ if [ ! -d $NDK ]; then
        mkdir -p $NDK
        cd $NDK/..
        rm -Rf `basename $NDK`
-       curl --fail --retry 3 -o ndk.zip http://dl.google.com/android/repository/android-ndk-r12-`uname`-x86_64.zip
+       curl --fail --retry 3 -o ndk.zip http://dl.google.com/android/repository/android-ndk-r12b-`uname`-x86_64.zip
 
        rm -Rf android-ndk-r12
        unzip -q ndk.zip
@@ -38,4 +38,4 @@ if [ ! -d $NDK ]; then
        rm ndk.zip
 fi
 
-echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "build-tools-23.0.3,android-23"
+echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "build-tools-24.0.1,android-23"