fix(android): align ELF segments to 16 KB pages for Android 15+ compliance (closes #605)
This pull request updates the Android build process for J2V8 to ensure that all generated ELF binaries are properly aligned to 16 KB page boundaries. This change is necessary to meet new requirements for Android 15+ (API level 35 and above), as outlined in Issue #605. Specifically, I added the linker flag -Wl,-z,max-page-size=16384 to both the CMake and Android.mk build scripts. With these updates, all native libraries produced for Android will be compatible with the upcoming 16 KB page size mandate from Google Play, helping prevent installation or runtime issues on newer devices.
To verify the fix, I rebuilt the native libraries for all Android ABIs and used the recommended alignment check script to confirm that each .so file is now correctly aligned. No other changes were made outside of what was needed for this compliance update. If any further testing or tweaks are needed, please let me know!
https://github.com/eclipsesource/J2V8/issues/605
Any news on when a release with this change will be available?
bumping, any eta for merge/release?