Repository navigation
Fix Android workflow SDK package parsing in APK build job - #1
Merged
Merged
Conversation
Co-authored-by: Coder-philosopher <177634554+Coder-philosopher@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Build, test, lint APK
Fix Android workflow SDK package parsing in APK build job
Oct 19, 2026
Coder-philosopher
marked this pull request as ready for review
October 19, 2026 20:45
Owner
|
ok |
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.
The
Build, test, lint APKjob failed during Android SDK setup because the workflow passed SDK packages in a format thatsetup-android/sdkmanagerinterpreted as one invalid package string. This change updates package formatting so required SDK components install correctly.Root cause
packagesin.github/workflows/android.ymlused a literal multiline scalar, which preserved newlines and broke package resolution (Failed to find package ...).Workflow updates
packagesfrom literal (|) to folded (>-) scalar in both jobs:build(Set up Android SDK (pinned cmdline tools + packages))release(Set up Android SDK (pinned))platforms;android-35,build-tools;35.0.0,platform-tools,ndk;26.3.11579264,cmake;3.22.1) while ensuring it is passed as a space-delimited list.Config diff (representative)