Repository navigation
chore: bump android-actions/setup-android to v4.0.4 and use Java 17 - #340
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused dependency update resolves the documented SDK package failure without requiring downstream workflow changes.
Review effort: Balanced
Findings: None
What changed in this PR
Updates Android SDK setup to restore the failing build workflow.
Changes:
- Upgrades
android-actions/setup-androidfrom v2 to v4.0.4. - Pins the action to a commit SHA.
| File | Description |
|---|---|
.github/actions/setup-buildtools/action.yml |
Updates the Android setup action used before installing build tools. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
Author
|
thanks! |
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.

Summary
The
buildjob has been failing since 2026-09-17 becauseandroid-actions/setup-android@v2requests the deprecatedtoolsSDK package, which is no longer served:See android-actions/setup-android#537. This was fixed upstream in v4.0.2 (the default
packagesis nowplatform-toolsonly).Changes
android-actions/setup-androidfromv2tov4.0.4, pinned by commit SHA like the other actions in this repo.ANDROID_SDK_ROOTand addssdkmanagertoPATH, so the subsequent steps ofsetup-buildtoolswork unchanged.buildjob matrix.sdkmanagerrequires JDK 17 or later (This tool requires JDK 17 or later. Your version was detected as 11.0.32.1.).sdkmanagerrequirement at that time, so this follows the same reasoning.Follow-ups
Unblocks the Dependabot PRs whose
buildjob is currently failing (e.g. #339).🤖 Generated with Claude Code