use ndk 21b

This commit is contained in:
its-pointless 2020-05-04 09:42:34 +10:00 committed by Henrik Grimler
parent f28f489e45
commit 9ce89eef41
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TERMUX_ANDROID_BUILD_TOOLS_VERSION=29.0.2 TERMUX_ANDROID_BUILD_TOOLS_VERSION=29.0.2
TERMUX_NDK_VERSION_NUM=21 TERMUX_NDK_VERSION_NUM=21
TERMUX_NDK_REVISION="" TERMUX_NDK_REVISION="b"
TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc" test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc"

View File

@ -7,7 +7,7 @@ set -e -u
ANDROID_SDK_FILE=sdk-tools-linux-4333796.zip ANDROID_SDK_FILE=sdk-tools-linux-4333796.zip
ANDROID_SDK_SHA256=92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9 ANDROID_SDK_SHA256=92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9
ANDROID_NDK_FILE=android-ndk-r${TERMUX_NDK_VERSION}-Linux-x86_64.zip ANDROID_NDK_FILE=android-ndk-r${TERMUX_NDK_VERSION}-Linux-x86_64.zip
ANDROID_NDK_SHA256=b65ea2d5c5b68fb603626adcbcea6e4d12c68eb8a73e373bbb9d23c252fc647b ANDROID_NDK_SHA256=0c7af5dd23c5d2564915194e71b1053578438ac992958904703161c7672cbed7
if [ ! -d $ANDROID_HOME ]; then if [ ! -d $ANDROID_HOME ]; then
mkdir -p $ANDROID_HOME mkdir -p $ANDROID_HOME
cd $ANDROID_HOME/.. cd $ANDROID_HOME/..