chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GBT version bump to v1.2.0
[termux-packages]
/
scripts
/
setup-android-sdk.sh
diff --git
a/scripts/setup-android-sdk.sh
b/scripts/setup-android-sdk.sh
index 7761f9af96156b49136125402b893a1527c4265f..62f823a68117fd0d52492bb7d003ee3888c7acc4 100755
(executable)
--- a/
scripts/setup-android-sdk.sh
+++ b/
scripts/setup-android-sdk.sh
@@
-25,7
+25,7
@@
if [ ! -d $NDK ]; then
mkdir -p $NDK
cd $NDK/..
rm -Rf `basename $NDK`
mkdir -p $NDK
cd $NDK/..
rm -Rf `basename $NDK`
- NDK_VERSION=r1
5c
+ NDK_VERSION=r1
6
curl --fail --retry 3 -o ndk.zip \
http://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-`uname`-x86_64.zip
curl --fail --retry 3 -o ndk.zip \
http://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-`uname`-x86_64.zip
@@
-35,7
+35,7
@@
if [ ! -d $NDK ]; then
rm ndk.zip
fi
rm ndk.zip
fi
-
mkdir -p $ANDROID_HOME/
licenses
-echo -e -n "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > $ANDROID_HOME/licenses/android-sdk-license
+
yes | $ANDROID_HOME/tools/bin/sdkmanager --
licenses
+
# The android-16 platform is used in the ecj package:
# The android-16 platform is used in the ecj package:
-$ANDROID_HOME/tools/bin/sdkmanager "build-tools;2
6.0.1" "platforms;android-26
" "platforms;android-16"
+$ANDROID_HOME/tools/bin/sdkmanager "build-tools;2
7.0.1" "platforms;android-27
" "platforms;android-16"