File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export ANDROID_SDK_ROOT="${ANDROID_SDK_ROOT:-$ANDROID_HOME}"
2626# -----------------------------
2727# Pin cmdline-tools archive here
2828# -----------------------------
29- SDK_ARCHIVE=" commandlinetools-linux-14742923_latest .zip"
29+ SDK_ARCHIVE=" commandlinetools-linux-8512546_latest .zip"
3030
3131# ------------------------------------------------------------
3232# Check that SDK_ARCHIVE is the latest Android cmdline-tools
@@ -70,7 +70,7 @@ check_cmdline_tools_latest_or_fail() {
7070 [[ " $xtrace_was_on " -eq 1 ]] && set -x
7171 [[ -n " $LATEST_VER " ]] || return 0
7272
73- if (( CURRENT_VER < LATEST_VER )) ; then
73+ if (( CURRENT_VER < LATEST_VER )) ; then # download, unpack and remove sdk archive
7474 echo " ERROR: Outdated Android SDK Command-line Tools detected."
7575 echo " ERROR: Current pinned version: $CURRENT_VER ($SDK_ARCHIVE )"
7676 echo " ERROR: Latest available version: $LATEST_VER (commandlinetools-linux-${LATEST_VER} _latest.zip)"
You can’t perform that action at this time.
0 commit comments