Make ubuntu 17.04 the reference build environment
[termux-packages] / scripts / setup-android-sdk.sh
index 54bc68d..7a84090 100755 (executable)
@@ -12,7 +12,7 @@ if [ ! -d $ANDROID_HOME ]; then
        rm -Rf `basename $ANDROID_HOME`
 
        curl --fail --retry 3 -o tools.zip https://dl.google.com/android/repository/tools_r25.2.3-linux.zip
-       rm -Rf tools android-sdk
+       rm -Rf android-sdk
        unzip -q tools.zip -d android-sdk
        rm tools.zip
 fi
@@ -21,7 +21,7 @@ if [ ! -d $NDK ]; then
        mkdir -p $NDK
        cd $NDK/..
        rm -Rf `basename $NDK`
-       NDK_VERSION=r13
+       NDK_VERSION=r14
        curl --fail --retry 3 -o ndk.zip \
                http://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-`uname`-x86_64.zip