From 2af72796a7c592d48045ff9a07de2b48d5241075 Mon Sep 17 00:00:00 2001 From: Benjamin Deroche Date: Mon, 7 Jun 2021 11:34:13 +0200 Subject: [PATCH] Problem: Outdated Android build tools Solution: Update Android NDK version --- builds/android/README.md | 4 ++-- builds/android/build.sh | 4 ++-- builds/android/ci_build.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/builds/android/README.md b/builds/android/README.md index 9692d5a4..ddc1abeb 100644 --- a/builds/android/README.md +++ b/builds/android/README.md @@ -7,10 +7,10 @@ You need the Android Native Development Kit (NDK) installed. See This project is tested against Android NDK version r21d. -If you installed version r21d all you have to do is to expose the NDK root +If you installed version r21e all you have to do is to expose the NDK root directory as environment variable, e.g: - export ANDROID_NDK_ROOT=$HOME/android-ndk-r21d + export ANDROID_NDK_ROOT=$HOME/android-ndk-r21e If you installed another version you have to expose the NDK root directory as well as the NDK version, e.g: diff --git a/builds/android/build.sh b/builds/android/build.sh index 5c539dd0..d6ea8c3e 100755 --- a/builds/android/build.sh +++ b/builds/android/build.sh @@ -35,8 +35,8 @@ esac # Set default values used in ci builds -export NDK_VERSION=${NDK_VERSION:-android-ndk-r21d} -# With NDK r21d, the minimum SDK version range is [16, 29]. +export NDK_VERSION=${NDK_VERSION:-android-ndk-r21e} +# With NDK r21e, the minimum SDK version range is [16, 29]. # SDK version 21 is the minimum version for 64-bit builds. export MIN_SDK_VERSION=${MIN_SDK_VERSION:-21} diff --git a/builds/android/ci_build.sh b/builds/android/ci_build.sh index fa298e69..1eaa7de2 100755 --- a/builds/android/ci_build.sh +++ b/builds/android/ci_build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -export NDK_VERSION=android-ndk-r21d +export NDK_VERSION=android-ndk-r21e export ANDROID_NDK_ROOT="/tmp/${NDK_VERSION}" case $(uname | tr '[:upper:]' '[:lower:]') in