Add android-36.1 and android-37 to SDK provisioning API levels#34806
Merged
PureWeen merged 1 commit intorelease/11.0.1xx-preview3from Apr 3, 2026
Merged
Add android-36.1 and android-37 to SDK provisioning API levels#34806PureWeen merged 1 commit intorelease/11.0.1xx-preview3from
PureWeen merged 1 commit intorelease/11.0.1xx-preview3from
Conversation
AndroidTargetFrameworkVersion was bumped to 36.1 but the provisioning list only went up to 36. CI macOS builds fail with XA5207 because the provisioning step (ProvisionAndroidSdkPlatformApiPackages) only installs the IsDefault item, which was android-36. The build expects platforms/android-36.1/android.jar which doesn't exist. The fix: - Keeps android-36 in the list (without IsDefault) - Adds android-36.1 with IsDefault=True (so CI installs it) - Adds android-37 for forward-compat (without IsDefault) When onlyAndroidPlatformDefaultApis=true (the CI default), only the IsDefault item is installed via: dotnet android sdk install --package "platforms;android-36.1" Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34806Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34806" |
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the XA5207 CI provisioning fix by updating the Android SDK API levels list so the default provisioned platform API matches the repo’s current AndroidTargetFrameworkVersion (36.1).
Changes:
- Move
IsDefault="True"from API level36to36.1. - Add API level
37to the provisioning list for forward compatibility.
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.
Backport of #34805 to preview3.
Problem
CI macOS builds fail with:
AndroidTargetFrameworkVersionwas bumped to36.1but the provisioning list only hadandroid-36. When CI runs withonlyAndroidPlatformDefaultApis: true, only theIsDefaultitem gets installed viadotnet android sdk install --package "platforms;android-36.1".Fix
android-36in the list (withoutIsDefault)android-36.1withIsDefault=Trueso CI installs itandroid-37for forward-compat (withoutIsDefault)Related