← All tasks
cppSFML/SFML #3654Not a task: not reproduced

16KB page size for Android below NDK 28

envgap__SFML__SFML-3654

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
e533db99c8a83a6b81c47105964e10cbab421a0d
Manifest
examples/android/app/src/main/jni/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

SFML/SFML #3654 · read the original issue
### Prerequisite Checklist

- [x] I searched for [existing issues](https://github.com/search?q=repo%3ASFML%2FSFML&type=issues) to prevent duplicates
- [x] I searched for [existing discussions on the forum](https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fen.sfml-dev.org) to prevent duplicates
- [x] I understand [SFML's scope](https://www.sfml-dev.org/contribute.php#general-considerations) and believe the feature fits it

### Describe your feature request here

Since late last year, Google Play requires 16KB page sizes for Android applications.
https://developer.android.com/guide/practices/page-sizes

Android NDK 28 or newer should use this 16KB page sizes by default, though personally, I've found some compilation issues with NDK 29, not sure if NDK 28 would be any different.
NDK 27 and 25 work fine for me but require some extra steps to get SFML to use 16KB page sizes.

I'm unsure how or if it is worth it to fix this in SFML 2 as well, as it uses OpenAL which is iirc compiled in advance and then copy pasted into the final apk. SFML 3 should be simple to fix though.

### Use Cases

Google Play requirement for new apps.

### API Example

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]