fix(release): drop the dead tools package from the Android SDK setup - #198
Merged
Merged
Conversation
`android-actions/setup-android` defaults `packages` to `tools platform-tools`. `tools` — the obsolete Android SDK Tools — no longer exists in Google's repository, so sdkmanager exits 1 with "Warning: Failed to find package 'tools'" and the release job dies at "Set up Android SDK". That is worse than a normal red build because of where it lands: the bump PR has already been opened and merged by then. Run #7 (2026-09-17) left `main` at 1.0.53 with no bundle and no tag, which is the state the cut-release skill handles with `dry_run: true` rather than a second bump. The `v4` tag carries the same default, so pinning a newer action does not fix it — the list has to be overridden. Nothing downstream wants the dead package: `bundleRelease` lets AGP fetch the platform and build-tools it needs, and the signature check is `jarsigner` from the JDK. Keeping `platform-tools` makes this the default list minus the package Google removed, and nothing else. `release.yml` is the only workflow that sets up the Android SDK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FBjSmDxvBq7XtFE9PA28Ko
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.
android-actions/setup-androiddefaultspackagestotools platform-tools.tools— the obsolete Android SDK Tools — no longer exists in Google's repository, so sdkmanager exits 1 with "Warning: Failed to find package 'tools'" and the release job dies at "Set up Android SDK".That is worse than a normal red build because of where it lands: the bump PR has already been opened and merged by then. Run #7 (2026-09-17) left
mainat 1.0.53 with no bundle and no tag, which is the state the cut-release skill handles withdry_run: truerather than a second bump.The
v4tag carries the same default, so pinning a newer action does not fix it — the list has to be overridden. Nothing downstream wants the dead package:bundleReleaselets AGP fetch the platform and build-tools it needs, and the signature check isjarsignerfrom the JDK. Keepingplatform-toolsmakes this the default list minus the package Google removed, and nothing else.release.ymlis the only workflow that sets up the Android SDK.Claude-Session: https://claude.ai/code/session_01FBjSmDxvBq7XtFE9PA28Ko
Description
Please include a summary of the change, the motivation behind it, and what problem it solves. Include relevant context and list any dependencies that are required for this change.
Related Issue
Fixes # (issue number, if applicable)
Type of Change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist
allWarningsAsErrorsis on)..\scripts\pre-pr-sweep.ps1→build/sweep-receipt.json): build 0 e:/0 w:, zipalign, Lint 0/0, tests 0 failures, Markdown/tables/links/cspell/JSON at zero, onboarding loop PASS (or SKIPPED — not done). Inspect Code export: parsed to 0 / SKIPPED because: ______docs/DEFINITION_OF_DONE.md).Note
Low Risk
CI-only change to Android SDK package list; no app runtime, auth, or signing logic changes.
Overview
Fixes release CI failing at Set up Android SDK after the version-bump PR has already merged.
android-actions/setup-androiddefaults to installingtoolsandplatform-tools, but Google removed the obsoletetoolspackage, sosdkmanagerexits with an error and the signed AAB never builds (e.g. run #7 left 1.0.53 without a bundle or tag).The workflow now passes
packages: 'platform-tools'only, with inline comments explaining why upgrading the action does not help.bundleReleasestill pulls platform/build-tools via AGP; signing verification stays on JDKjarsigner.Adds
sdkmanagerto cspell and the IDE project dictionary for the new workflow comments.Reviewed by Cursor Bugbot for commit 62810fb. Bugbot is set up for automated code reviews on this repo. Configure here.