-
Notifications
You must be signed in to change notification settings - Fork 597
Closed as duplicate of#3420
Closed as duplicate of#3420
Copy link
Labels
area/libSkiaSharp.nativebackend/Androidos/Androidtenet/compatibilityCompatibility with previous versions of SkiaSharpCompatibility with previous versions of SkiaSharptype/bug
Description
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
- Create a .NET MAUI Android app targeting Android 16.
- Build AAB using current SkiaSharp (v2.88.6) / MAUI workload.
- Run page size check on .so files.
- 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
- Google page size guide: https://developer.android.com/guide/practices/page-sizes
- MAUI discussion: State of Android 16kb Page Size Support dotnet/maui#30428
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 hereYou 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
Labels
area/libSkiaSharp.nativebackend/Androidos/Androidtenet/compatibilityCompatibility with previous versions of SkiaSharpCompatibility with previous versions of SkiaSharptype/bug
Type
Projects
Status
Done