androidmaui

SupportedOSPlatformVersion {version} cannot be higher than TargetPlatformVersion {version}?


After I finished coding in maui,i began to build a mobile app in android.And met this problem.


Solution

  • if you want to use "Publish an Android app for ad-hoc distribution",you will fail. there is a bug in there and will need to wait for a long time to be repaired.

    so you would use "https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli?view=net-maui-9.0" instead.

    if you do not want to waste your time.please do it. thank you.