Android 16 KB page size warning
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Release Type: Official Release
Version: 4.2.1.2442
Platform(s): Android
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Create Android MyGame project.
- Change the Android project to
net9.0-androidand ensure you have android SDK 35+ installed. Do NOT change the Game project fromnet8.0-android/net8.0since CompilerApp is only .NET 8. - In Visual Studio, right click the Android project -> Archive
- Observe the warning messages when process is complete:
Android 16 will require 16 KB page sizes, shared library 'libstrideaudio.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Audio' version '4.2.1.2442' which contains 'runtimes/android-arm64/native/libstrideaudio.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libfreetype.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Graphics' version '4.2.1.2442' which contains 'runtimes/android-arm64/native/libfreetype.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libstridenavigation.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Navigation' version '4.2.1.2442' which contains 'runtimes/android-arm64/native/libstridenavigation.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libbulletc.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Physics' version '4.2.1.2442' which contains 'runtimes/android-arm64/native/libbulletc.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libstridevr.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.VirtualReality' version '4.2.1.2442' which contains 'runtimes/android-arm64/native/libstridevr.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libSDL2-2.0.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Ultz.Native.SDL' version '2.30.8' which contains 'runtimes/linux-arm64/native/libSDL2-2.0.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libstrideaudio.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Audio' version '4.2.1.2442' which contains 'runtimes/android-x64/native/libstrideaudio.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libfreetype.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Graphics' version '4.2.1.2442' which contains 'runtimes/android-x64/native/libfreetype.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libstridenavigation.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Navigation' version '4.2.1.2442' which contains 'runtimes/android-x64/native/libstridenavigation.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libbulletc.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.Physics' version '4.2.1.2442' which contains 'runtimes/android-x64/native/libbulletc.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libstridevr.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Stride.VirtualReality' version '4.2.1.2442' which contains 'runtimes/android-x64/native/libstridevr.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libSDL2-2.0.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Ultz.Native.SDL' version '2.30.8' which contains 'runtimes/linux-x64/native/libSDL2-2.0.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libmain.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Silk.NET.Windowing.Sdl' version '2.22.0' which contains 'C:\Users\USER\.nuget\packages\silk.net.windowing.sdl\2.22.0\lib\net6.0-android31.0\app-release.aar'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libSDL2.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Silk.NET.Windowing.Sdl' version '2.22.0' which contains 'C:\Users\USER\.nuget\packages\silk.net.windowing.sdl\2.22.0\lib\net6.0-android31.0\app-release.aar'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libmain.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Silk.NET.Windowing.Sdl' version '2.22.0' which contains 'C:\Users\USER\.nuget\packages\silk.net.windowing.sdl\2.22.0\lib\net6.0-android31.0\app-release.aar'. See https://developer.android.com/guide/practices/page-sizes for more details.
Android 16 will require 16 KB page sizes, shared library 'libSDL2.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Silk.NET.Windowing.Sdl' version '2.22.0' which contains 'C:\Users\USER\.nuget\packages\silk.net.windowing.sdl\2.22.0\lib\net6.0-android31.0\app-release.aar'. See https://developer.android.com/guide/practices/page-sizes for more details.
Expected behavior
No warning.
Additional context
As per the link https://developer.android.com/guide/practices/page-sizes
Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes on 64-bit devices.
Note that Android apps are already required to target Android 15 as a minimum, so basically there is a hard deadline to have apps supporting 16 KB page sizes by Nov 1st (assuming you didn't request for an extension).
So far, 'Ultz.Native.SDL' and 'Silk.NET.Windowing.Sdl' are external dependencies, and rely on Silk.NET to fix on their end. This issue has been raised here https://github.com/dotnet/Silk.NET/issues/2493
The remaining appear internal, so require teamcity to install NDK r28+, then just rebuild as-is, or explicitly set the page size if NDK is lower and rebuild.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android archive process and the TeamCity build configuration, then review the listed native libraries and their package paths, including Stride.Audio, Stride.Graphics, Stride.Navigation, Stride.Physics, and Stride.VirtualReality. Check the external Ultz.Native.SDL and Silk.NET.Windowing.Sdl dependency issue separately. Done means rebuilding the internal libraries with 16 KB page-size support and confirming the Android archive produces no such warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100