File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -655,12 +655,14 @@ install_android_sdk() {
655655
656656 # permit the "--android-ndk" flag to override the default
657657 local android_ndk_version=" ${ANDROID_NDK_VERSION:- r27d} "
658+ log " Checking for Android NDK $android_ndk_version at $ANDROID_NDK_HOME "
658659
659660 # Download and install the Android NDK.
660661 # Note that we could use the system package manager, but it is
661662 # named different things for different distributions
662663 # (e.g., "google-android-ndk-r26-installer" on Debian)
663664 if [[ ! -d " ${ANDROID_NDK_HOME:- } " || ! $( grep " Pkg.ReleaseName = ${android_ndk_version} " " ${ANDROID_NDK_HOME} /source.properties" ) ]]; then
665+ log " Android NDK $android_ndk_version may not have matched $( grep " Pkg.ReleaseName" " $ANDROID_NDK_HOME /source.properties" ) "
664666 curl_with_retry -fsSL -o ndk.zip https://dl.google.com/android/repository/android-ndk-" ${android_ndk_version} " -" $( uname -s) " .zip
665667 command -v unzip > /dev/null || install_package unzip
666668 unzip -q ndk.zip
You can’t perform that action at this time.
0 commit comments