From 900aafa0ace1e7682a3567fa04dfa0feb3be91f6 Mon Sep 17 00:00:00 2001 From: JasonWildMe Date: Wed, 23 Sep 2026 11:15:43 -0700 Subject: [PATCH] fix(ci): stop setup-android from requesting the removed 'tools' package android-actions/setup-android@v3 installs "tools platform-tools" by default. The legacy SDK 'tools' package is no longer in Google's repository, so sdkmanager exits 1 and the test, lint and android-build jobs fail before any project code runs. Install only platform-tools; Gradle fetches the build-tools and platforms it needs. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/release.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cd6415dd..99074590a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: 'platform-tools' - name: Install dependencies run: npm ci @@ -92,6 +94,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: 'platform-tools' - name: Setup Ruby dependencies uses: ruby/setup-ruby@v1 @@ -170,6 +174,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: 'platform-tools' - name: Install dependencies run: npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 635c0929a..a53229e7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,8 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + packages: 'platform-tools' - name: Cache Gradle uses: actions/cache@v4