Skip to content

chore: install Android API 34 platform before macOS MAUI build - #21

Merged
jsonbailey merged 1 commit into
mainfrom
devin/1785429575-fix-maui-android-sdk
Jul 31, 2026
Merged

chore: install Android API 34 platform before macOS MAUI build#21
jsonbailey merged 1 commit into
mainfrom
devin/1785429575-fix-maui-android-sdk

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

The build-maui job (macos-latest) has failed every day since 2026-07-05, when the macOS runner image stopped shipping the Android API level 34 platform:

error XA5207: Could not find android.jar for API level 34 ...
expected to be in `/Users/runner/Library/Android/sdk/platforms/android-34/android.jar`

Adds the MSBuild-recommended step before the Android build, which installs the missing platform (and accepts licenses) into the runner's existing SDK directory:

dotnet build MauiApp -f net8.0-android -t:InstallAndroidDependencies \
  -p:AndroidSdkDirectory="${ANDROID_HOME:-$HOME/Library/Android/sdk}" -p:AcceptAndroidSDKLicenses=True

The Linux build-and-run job is unaffected (that image still has API 34) and is left unchanged.

Latest failing run: https://github.com/launchdarkly/hello-dotnet-client/actions/runs/30441473256

Link to Devin session: https://app.devin.ai/sessions/bbaa402957474f3ab30fe102ed0316e2


Note

Low Risk
CI-only workflow change with no application or runtime behavior impact.

Overview
Fixes daily failures in the build-maui job on macos-latest caused by the runner image no longer including Android API 34 (XA5207 / missing android.jar).

Adds an Install Android SDK dependencies step that runs MSBuild InstallAndroidDependencies against MauiApp for net8.0-android, pointing at the runner SDK (ANDROID_HOME or ~/Library/Android/sdk) and accepting licenses, before the existing Android build step. The Ubuntu build-and-run job is unchanged.

Reviewed by Cursor Bugbot for commit 3964373. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner July 30, 2026 16:40
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@jsonbailey
jsonbailey merged commit cb4dc49 into main Jul 31, 2026
5 of 6 checks passed
@jsonbailey
jsonbailey deleted the devin/1785429575-fix-maui-android-sdk branch July 31, 2026 14:17
@jsonbailey jsonbailey changed the title ci: install Android API 34 platform before macOS MAUI build chore: install Android API 34 platform before macOS MAUI build Jul 31, 2026
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