Android framework version
net9.0-android
Affected platform version
any
Description
We would like to bump the minimum Android OS version to 24 (instead of 21), but we need to do it in a non-disruptive way.
I propose something like:
SupportedOSPlatformVersion=24 in project templates
- If blank,
SupportedOSPlatformVersion=24 is the default
- Customers can opt into lower
SupportedOSPlatformVersion=21, for example
- We emit a build warning for
SupportedOSPlatformVersion < 24
Steps to Reproduce
Ideally, it would:
dotnet new android
dotnet build
- I see
minSdkVersion="24" in the resulting .apk
Did you find any workaround?
Set SupportedOSPlatformVersion=24 manually.