Share via

App does not support the 16KB memory page sizes

Sreenivasan, Sreejith 740 Reputation points
2026-04-08T10:57:49.8633333+00:00

I got the below error message from the play store for my xamarin forms application:
User's image

I am migrating it to MAUI now. So is the MAUI version fix this issue?

Below are the packages I am using in the MAUI version.

.NET MAUI App:

<ItemGroup>
	<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="8.0.0" />
	<PackageReference Include="Autofac" Version="8.0.0" />
	<PackageReference Include="CommunityToolkit.Maui" Version="8.0.0" />
	<PackageReference Include="FFImageLoading.Maui" Version="1.3.1" />
	<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
	<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
	<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
	<PackageReference Include="NLog" Version="6.0.2" />
	<PackageReference Include="NLog.Extensions.Logging" Version="5.2.0" />
	<PackageReference Include="Plugin.Firebase" Version="3.1.4" />
	<PackageReference Include="SkiaSharp" Version="3.116.1" />
	<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="3.116.1" />
	<PackageReference Include="ZXing.Net.Maui" Version="0.4.0" />
	<PackageReference Include="ZXing.Net.Maui.Controls" Version="0.4.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
  <PackageReference Include="Xamarin.AndroidX.Activity.Ktx">
    <Version>1.10.1.2</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Collection.Ktx">
    <Version>1.5.0.2</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData">
    <Version>2.8.7.4</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx">
    <Version>2.8.7.4</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx">
    <Version>2.8.7.4</Version>
  </PackageReference>
</ItemGroup>

.NET Class Library:

  <ItemGroup>
    <PackageReference Include="JsonApiSerializer" Version="2.0.1" />
    <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
	<PackageReference Include="SkiaSharp" Version="3.116.1" />
	<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="3.116.1" />
  </ItemGroup>

.NET MAUI Class Library:

<ItemGroup>
	<PackageReference Include="akavache" Version="10.0.28" />
	<PackageReference Include="Autofac" Version="8.0.0" />
	<PackageReference Include="CommunityToolkit.Maui" Version="8.0.0" />
	<PackageReference Include="FFImageLoading.Maui" Version="1.3.1" />
	<PackageReference Include="Humanizer" Version="2.14.1" />
	<PackageReference Include="JsonApiSerializer" Version="2.0.1" />
	<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
	<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
	<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
	<PackageReference Include="NLog" Version="6.0.2" />
	<PackageReference Include="Plugin.Firebase" Version="3.1.4" />
	<PackageReference Include="SkiaSharp" Version="3.116.1" />
	<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="3.116.1" />
	<PackageReference Include="ZXing.Net.Maui" Version="0.4.0" />
	<PackageReference Include="ZXing.Net.Maui.Controls" Version="0.4.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
	<PackageReference Include="Xamarin.AndroidX.CardView" Version="1.0.0.21" />
	<PackageReference Include="Xamarin.OpenTok.Android">
	  <Version>2.18.1</Version>
	</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
  <PackageReference Include="Xamarin.AndroidX.Activity.Ktx">
    <Version>1.10.1.2</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Biometric">
    <Version>1.1.0.29</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Collection.Ktx">
    <Version>1.5.0.2</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData">
    <Version>2.8.7.4</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx">
    <Version>2.8.7.4</Version>
  </PackageReference>
  <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx">
    <Version>2.8.7.4</Version>
  </PackageReference>
</ItemGroup>
Developer technologies | .NET | .NET MAUI

2 answers

Sort by: Most helpful
  1. Omkar Pawar 260 Reputation points
    2026-04-09T05:04:39.95+00:00
    0 comments No comments

  2. Q&A Assist
    2026-04-08T10:58:15.3233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Migrating to .NET MAUI by itself does not guarantee that the 16 KB page-size issue is fixed. The problem is in one or more native .so libraries inside the NuGet packages used by the app, not in whether the app is Xamarin.Forms or MAUI.

    Android 16 on arm64 will require native libraries to use 16 KB page sizes. Any native shared library that is not built with 16 KB alignment must be recompiled and relinked accordingly. Apps that include such libraries (directly or via NuGet packages/AARs) must then be rebuilt to include the fixed binaries.

    Key points for the MAUI version:

    1. The .NET MAUI / .NET for Android toolchain supports Android 34+ and is being updated for newer Android versions, but it does not automatically “fix” third‑party native libraries.
    2. Each package that contains native Android libraries (.so files) must provide binaries that comply with the 16 KB page-size requirement. If a package ships non‑compliant native code, the MAUI app will still be non‑compliant.
    3. The official guidance is:
      • Identify the offending native shared library reported in the XA0141 warning or Play Console message.
      • Contact the author of the NuGet package that contains that library and request a version rebuilt with 16 KB page-size support.
      • Update the app to reference the fixed package version and rebuild.

    Therefore:

    • Simply moving from Xamarin.Forms to MAUI does not resolve the policy violation.
    • The issue is resolved only when all native libraries included in the MAUI app (including those from packages like Xamarin.OpenTok.Android or any other binding/AAR) have been rebuilt for 16 KB page sizes and the app is rebuilt with those versions.

    Follow the Android SDK guidance in “Support 16 KB page sizes” and ensure that any package authors whose libraries include native code do the same.


    References:

    0 comments No comments

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.