Bump Android SupportedOSPlatformVersion from 21 to 24 in templates#34736
Bump Android SupportedOSPlatformVersion from 21 to 24 in templates#34736jfversluis merged 2 commits intonet11.0from
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34736Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34736" |
There was a problem hiding this comment.
Pull request overview
Updates .NET MAUI project templates to target a higher minimum Android API level to avoid build failures caused by newer AndroidX dependencies requiring minSdkVersion 23.
Changes:
- Bumped Android
SupportedOSPlatformVersionfrom21.0to23.0in the maui-mobile template. - Bumped Android
SupportedOSPlatformVersionfrom21.0to23.0in the maui-lib template. - Bumped Android
SupportedOSPlatformVersionfrom21.0to23.0in the maui-multiproject Android head template.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Templates/src/templates/maui-mobile/MauiApp.1.csproj | Raises Android minimum platform version to 23 to prevent Android build failures in newly created apps. |
| src/Templates/src/templates/maui-lib/MauiLib1.csproj | Aligns library template Android minimum with dependency requirements (minSdk 23). |
| src/Templates/src/templates/maui-multiproject/MauiApp.1.Droid/MauiApp.1.Droid.csproj | Updates Android head project minimum API to 23 to keep multiproject template building. |
|
@copilot actually lets make it 24 |
Updated all three templates to |
The base branch was changed.
|
@copilot rebase on the net11.0 branch |
Rebased on net11.0 in |
|
/rebase |
Agent-Logs-Url: https://github.com/dotnet/maui/sessions/65027995-c5ae-4bb7-9c5d-894d5b4877d7 Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com>
5fbeab1 to
6f5f8ce
Compare
SupportedOSPlatformVersionfor Android from23.0to24.0insrc/Templates/src/templates/maui-mobile/MauiApp.1.csprojSupportedOSPlatformVersionfor Android from23.0to24.0insrc/Templates/src/templates/maui-lib/MauiLib1.csprojSupportedOSPlatformVersionfor Android from23.0to24.0insrc/Templates/src/templates/maui-multiproject/MauiApp.1.Droid/MauiApp.1.Droid.csproj