Skip to content

Stop installing the removed SDK tools package in CI - #1013

Merged
mdanylov-sigma merged 1 commit into
masterfrom
fix/ci-android-sdk-platform-tools
Sep 15, 2026
Merged

mdanylov-sigma merged 1 commit into
masterfrom
fix/ci-android-sdk-platform-tools

Conversation

@mdanylov-sigma

Copy link
Copy Markdown
Collaborator

Google removed the obsolete tools package from its Android SDK repository on Sep 14, 2026. The repository2-*.xml package lists were updated at 20:24 GMT and no longer contain it.

android-actions/setup-android installs tools platform-tools by default, in both v3 and v4, so the "Set up Android SDK" step now fails in every pull request run:

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

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-tools version and installed tools without problems.

This PR sets packages: 'platform-tools' on the five setup-android steps in PR_checks.yml. Nothing in the build or scripts uses the legacy tools package, and Gradle downloads the platforms and build tools it needs.

🤖 Generated with Claude Code

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>

@OlenaPostindustria OlenaPostindustria left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mdanylov-sigma
mdanylov-sigma merged commit 19c4232 into master Sep 15, 2026
6 checks passed
@mdanylov-sigma
mdanylov-sigma deleted the fix/ci-android-sdk-platform-tools branch September 15, 2026 09:36
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