From e9e397f3d55849a66ee1cd904cbd742126b73780 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Tue, 30 Nov 2021 11:23:35 +0000 Subject: [PATCH] decommission ANDROID_HOME in build scripts, fixes #257 --- scripts/function-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/function-android.sh b/scripts/function-android.sh index 8272186..f604ca7 100755 --- a/scripts/function-android.sh +++ b/scripts/function-android.sh @@ -954,7 +954,7 @@ get_aar_directory() { } android_ndk_cmake() { - local cmake=$(find "${ANDROID_HOME}"/cmake -path \*/bin/cmake -type f -print -quit) + local cmake=$(find "${ANDROID_SDK_ROOT}"/cmake -path \*/bin/cmake -type f -print -quit) if [[ -z ${cmake} ]]; then cmake=$(which cmake) fi