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 4.27 is released in 4.27-plus branch.
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
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.
for instace, this is the google anlaysis on our app where a bunch of 3rd party libs are remain 4KB page size.
1, re-compile these lib requires source code which we don’t have
2, we cannot gurantee vendor to provide 16KB lib on time
@yuhang061 Unfortunately there is no solution to patch existing libraries to support 16kb page size right now, we had to rebuild all our bundled libraries. Please contact the vendors in time to provide new rebuild libraries.