Support for 16kb memory page size on Android

Dmytro Ivanov
Wed, 04 Jun 2025 14:01:44 +0000
Mobile

Hi everyone

Android is bringing support for 16kb page sizes to the ecosystem.
Google Play communicated a deadline for all apps targeting Android 15+ devices must support 16kb page size by November 1st, 2025.

UE 5.6.0 is released with support for 16kb page size.
UE 5.6.1 removed “useLegacyPackaging=true” requirement.
UE 5.7.0 will have updated libplaycore.so / libplaycore_static.a and warn if bundled libraries are not 16kb page size aligned.
UE 4.27 is released in 4.27-plus branch.

Google Play Asset delivery library (libplaycore.so) was updated to 1.15.4 in ue5-main (will be part of UE 5.7.0) and 4.27-plus branches. We switched UE4 to use static version libplaycore_static.a instead, UE5 is using static already.

For UE 5.6.0 we will only support useLegacyPackaging=true for 16kb page size, bExtractNativeLibs should set to True in the relevant Engine.ini. This limitation was removed in UE 5.6.1.

Every dynamic library (.so) in .apk/.aab needs to be updated with new linker flags for correct section alignment. Please consider rebuilding your dynamic libraries in time if you’re a plugin developer.

You can use %NDKROOT%\toolchains\llvm\prebuilt\windows-x86_64\bin\llvm-readelf.exe --program-headers file.so to check if your .so is compatible, 16kb alignment will show up as 0x4000 or higher, while 4kb alignment will be 0x1000. Rebuild your libraries with NDK r27c or later if possible.

See the documentation how to test your apps on Pixel 8 or 9 series phones.

Let me know if you have any questions.

15 posts - 8 participants