Skip to content

Commit e17a5d6

Browse files
committed
test
1 parent fb69fdd commit e17a5d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

script/ci-install-android-sdk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)"

0 commit comments

Comments
 (0)