From 143ec89bac6baae94ebe02a62afdfa8c12c821e4 Mon Sep 17 00:00:00 2001 From: Chinmay Chaudhari Date: Thu, 1 Oct 2026 22:05:45 +0530 Subject: [PATCH] ci: stop installing the removed Android SDK "tools" package android-actions/setup-android@v3 installs "tools platform-tools" by default. Google removed the legacy "tools" package from its SDK repository between 2026-09-14 and 2026-09-15, so sdkmanager now exits with "Failed to find package 'tools'" and every workflow that uses the setup-rust-android composite action fails before Flutter runs (Flutter CI, Nightly Build & Log, Nightly F-Droid). The runner image and cmdline-tools version were identical in the last passing and first failing nightly runs; only the remote repository changed. Install platform-tools only; cmdline-tools already replaces the old SDK Tools. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/actions/setup-rust-android/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/setup-rust-android/action.yml b/.github/actions/setup-rust-android/action.yml index b2b9e9f4..b41b2fce 100644 --- a/.github/actions/setup-rust-android/action.yml +++ b/.github/actions/setup-rust-android/action.yml @@ -23,6 +23,12 @@ runs: using: composite steps: - uses: android-actions/setup-android@v3 + with: + # The action installs "tools platform-tools" by default, but Google + # removed the legacy "tools" package from its SDK repository in + # Sept 2026, so sdkmanager fails with "Failed to find package 'tools'". + # cmdline-tools (already on the runner) replaces it. + packages: platform-tools - name: Install NDK ${{ inputs.ndk-version }} shell: bash