Play Store Warning: This release no longer support xxxx devices that were supported in your previous release.

Sreenivasan, Sreejith 1,025 Reputation points
2026-09-10T09:55:05.64+00:00

I am getting the below warning for my MAUI app from play store:
User's image

My Previous version was .net 8 with minSdkVersion 21 and targetSdkVersion 35. My current version is .net 10 with minSdkVersion 23 and targetSdkVersion 36.

I am getting below error when I tried to took the build with minSdkVersion as 21 on .net 10 project.

uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library androidx.lifecycle.runtime Suggestion: increase this project's minSdk version to at least 23

Problem is one of my Android dependencies requires minSdkVersion = 23. But my MAUI project is still building with minSdkVersion = 21.

I even tried below settings on manifest, but this also end with errors.

<manifest xmlns:tools="http://schemas.android.com/tools">

    <uses-sdk
        android:minSdkVersion="21"
        tools:overrideLibrary="androidx.lifecycle.runtime" />

</manifest>

So is increasing Minimum Android Version only fix? In that case how we can manage the xxxx users?

Developer technologies | .NET | .NET Multi-platform App UI

1 answer

Sort by: Newest
  1. AI answer

    2026-09-10T09:55:26.82+00:00

    Yes. In this scenario, increasing the minimum Android version is the required fix.

    The build error is expected because a referenced Android library declares minSdkVersion 23, so the app cannot ship with minSdkVersion 21. The warning from Google Play is therefore a consequence of raising the app’s minimum supported Android version.

    For modern .NET Android and .NET MAUI projects, the minimum Android version should be set in the project file with SupportedOSPlatformVersion, rather than relying on <uses-sdk/> in AndroidManifest.xml. That value maps to android:minSdkVersion at build time.

    Use a project setting like this in the Android target:

    <PropertyGroup>
      <TargetFramework>net10.0-android</TargetFramework>
      <SupportedOSPlatformVersion>23</SupportedOSPlatformVersion>
    </PropertyGroup>
    

    If android:minSdkVersion is also set manually in AndroidManifest.xml, it must match the project setting. Keeping conflicting values in the manifest can cause build or packaging problems.

    About the affected users:

    • Users on devices below the new minimum version will not be able to install new updates.
    • Existing users on those unsupported devices can continue using the version already installed, but they will not receive future app updates.
    • The recommended action is to notify those users that newer app versions require a newer Android OS.

    This is consistent with platform guidance that when the minimum supported Android API level is raised, apps can no longer be installed or run on devices below that level, and users should be informed when updates are no longer available for older Android versions.

    So the practical path is:

    1. Set the MAUI project minimum Android version to 23 in the .csproj.
    2. Remove or align any <uses-sdk/> entry in AndroidManifest.xml.
    3. Rebuild and upload the new AAB.
    4. Inform users on Android versions below API 23 that they must upgrade the device OS to receive future app updates.

    Using tools:overrideLibrary does not change the fact that the dependency itself requires a higher minimum SDK. The supported app minimum must still be compatible with the libraries included in the app.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.