Skip to content

Fix Android workflow SDK package parsing in APK build job - #1

Merged
Coder-philosopher merged 2 commits into
mainfrom
copilot/fix-build-test-lint-apk
Oct 19, 2026
Merged

Coder-philosopher merged 2 commits into
mainfrom
copilot/fix-build-test-lint-apk

Conversation

Copilot AI commented Oct 19, 2026 •

Copy link
Copy Markdown

The Build, test, lint APK job failed during Android SDK setup because the workflow passed SDK packages in a format that setup-android/sdkmanager interpreted as one invalid package string. This change updates package formatting so required SDK components install correctly.

  • Root cause

    • packages in .github/workflows/android.yml used a literal multiline scalar, which preserved newlines and broke package resolution (Failed to find package ...).
  • Workflow updates

    • Switched packages from literal (|) to folded (>-) scalar in both jobs:
      • build (Set up Android SDK (pinned cmdline tools + packages))
      • release (Set up Android SDK (pinned))
    • Preserves the same package set (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)

    with:
      packages: >-
        platforms;android-35
        build-tools;35.0.0
        platform-tools
        ndk;26.3.11579264
        cmake;3.22.1

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
Coder-philosopher marked this pull request as ready for review October 19, 2026 20:45
@Coder-philosopher
Coder-philosopher merged commit 485243b into main Oct 19, 2026
2 of 4 checks passed
@Coder-philosopher

Copy link
Copy Markdown
Owner

ok

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