Stop installing the removed SDK tools package in CI - #1013
Merged
Merged
Conversation
Google removed the obsolete `tools` package from its Android SDK repository on Sep 14, 2026. android-actions/setup-android installs `tools platform-tools` by default, so the "Set up Android SDK" step now fails with "Failed to find package 'tools'". Install only platform-tools. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Google removed the obsolete
toolspackage from its Android SDK repository on Sep 14, 2026. Therepository2-*.xmlpackage lists were updated at 20:24 GMT and no longer contain it.android-actions/setup-androidinstallstools platform-toolsby default, in both v3 and v4, so the "Set up Android SDK" step now fails in every pull request run:Failing run: https://github.com/prebid/prebid-mobile-android/actions/runs/34899608350 (#1012). On Sep 13, #1011's run used the same runner image and
cmdline-toolsversion and installedtoolswithout problems.This PR sets
packages: 'platform-tools'on the fivesetup-androidsteps inPR_checks.yml. Nothing in the build or scripts uses the legacytoolspackage, and Gradle downloads the platforms and build tools it needs.🤖 Generated with Claude Code