ci(android): stop asking sdkmanager for the obsolete tools package - #728
Merged
Merged
Conversation
`android-actions/setup-android@v3` defaults to `packages: tools platform-tools`. The ubuntu runner image now ships a newer sdkmanager (cmdline-tools 16) that no longer knows the long-obsolete `tools` package, so the Setup Android SDK step has exited 1 on every branch since 2026-09-15, before Gradle runs. Last green run was 2026-09-03. Ask only for platform-tools. Gradle downloads the pinned platforms and build-tools itself; the action already accepts the licences. ENG-604 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014etuRoG7S3DxsAmWMP9jAX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: ENG-604
Problem
Android Build Checkis red on every open PR (#720 through #727) and has been since 2026-09-15. It dies inSetup Android SDK, before Gradle runs:android-actions/setup-android@v3defaults topackages: tools platform-tools. The ubuntu runner image now ships cmdline-tools 16, whosesdkmanagerno longer knows the long-obsoletetoolspackage. Last green run on main was 2026-09-03, before the image moved.Fix
Ask the action for
platform-toolsonly. Gradle fetches the pinned platforms and build-tools itself, and the action already accepts the licences. One-line workflow change; no app code touched.Verification
This PR's own
Android Build Checkis the test. Once it is green and merged, re-running the Android job on the open PRs should turn them green without any change on their side, since pull-request workflows run from the merge ref.🤖 Generated with Claude Code
https://claude.ai/code/session_014etuRoG7S3DxsAmWMP9jAX