Skip to content

ci(android): stop asking sdkmanager for the obsolete tools package - #728

Merged
islandbitcoin merged 1 commit into
mainfrom
fix/ci-android-sdk-packages
Sep 16, 2026
Merged

islandbitcoin merged 1 commit into
mainfrom
fix/ci-android-sdk-packages

Conversation

@bobodread876

Copy link
Copy Markdown
Collaborator

Ticket: ENG-604

Problem

Android Build Check is red on every open PR (#720 through #727) and has been since 2026-09-15. It dies in Setup Android SDK, before Gradle runs:

[command]/usr/local/lib/android/sdk/cmdline-tools/16.0/bin/sdkmanager tools
Warning: Failed to find package 'tools'
Error: The process '.../sdkmanager' failed with exit code 1

android-actions/setup-android@v3 defaults to packages: tools platform-tools. The ubuntu runner image now ships cmdline-tools 16, whose sdkmanager no longer knows the long-obsolete tools package. Last green run on main was 2026-09-03, before the image moved.

Fix

Ask the action for platform-tools only. 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 Check is 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

`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
@linear

linear Bot commented Sep 16, 2026

Copy link
Copy Markdown

ENG-604

@islandbitcoin
islandbitcoin merged commit a6c0fc1 into main Sep 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants