Skip to content

ci(publish): do not request the obsolete Android SDK 'tools' package - #1293

Merged
michalharakal merged 1 commit into
developfrom
ci/publish-android-sdk-packages
Sep 20, 2026
Merged

michalharakal merged 1 commit into
developfrom
ci/publish-android-sdk-packages

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

The 0.56.0 publish failed (run 35524370364, and again on re-run) in Set up Android SDK, before Gradle started — nothing was uploaded to Maven Central:

[command].../cmdline-tools/20.0/bin/sdkmanager tools
Warning: Failed to find package 'tools'
Error: The process '.../sdkmanager' failed with exit code 1

android-actions/setup-android (same pinned v4.0.1 that published 0.54.0 on 2026-09-06) installs tools platform-tools by default; the obsolete tools package is no longer served by the SDK repository. Fix: packages: 'platform-tools'. The pinned NDK is installed by the following step and is all the publish needs.

publish.yml runs only on tag pushes and uses the workflow file at the tagged commit, so after merging this the 0.56.0 tag has to point at a commit that contains it (see PR discussion).

setup-android installs "tools platform-tools" by default. The SDK repository no longer serves
the obsolete tools package, so sdkmanager exits 1 (Failed to find package tools) and the publish
job dies in Set up Android SDK, before Gradle runs. The 0.56.0 tag hit this twice (run + re-run);
nothing was uploaded. Request platform-tools only; the pinned NDK is installed by the next step.
@michalharakal
michalharakal merged commit e7c54b2 into develop Sep 20, 2026
14 checks passed
@michalharakal
michalharakal deleted the ci/publish-android-sdk-packages branch September 20, 2026 17:25
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.

1 participant