Skip to content

[BUG] <title>Android 16 16 KB page size support for libSkiaSharp.so #3419

@baharvipin

Description

@baharvipin

Description

Description
Google Play now requires all 64-bit native libraries to use 16 KB memory page size starting with Android 16+. Currently, libSkiaSharp.so included in SkiaSharp.NativeAssets.Android v2.88.6 has a 4 KB page size, which prevents apps from targeting Android 16+.

Steps to reproduce

  1. Create a .NET MAUI Android app targeting Android 16.
  2. Build AAB using current SkiaSharp (v2.88.6) / MAUI workload.
  3. Run page size check on .so files.
  4. libSkiaSharp.so shows 4 KB page size.

Expected behavior
libSkiaSharp.so should be built with 16 KB page size to comply with Android 16+ requirements.

Environment

  • SkiaSharp.NativeAssets.Android v2.88.6
  • .NET MAUI 9.0
  • Android 16+ target

References

Code

The best way to share code for larger projects is a link to a GitHub repository: https://github.com/user/repo/tree/bug-123

But, you can also share a short block of code here:

// some C# code here

You can also share some XAML:

<!-- xaml code here -->

Expected Behavior

No response

Actual Behavior

No response

Version of SkiaSharp

3.116.0 (Current)

Last Known Good Version of SkiaSharp

2.88.9 (Previous)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Android

Platform / Operating System Version

No response

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions