Open KuanChunChen opened 3 months ago
Android 15 introduces a new feature related to 16KB page sizes, which may cause crashes on some devices.
The Android official documentation provides details on this update. For more information, please refer to the official website: https://developer.android.com/guide/practices/page-sizes#cmake
If you run the DuckDuckGo app on Android 15 devices that use 16KB page sizes, you may encounter crash exceptions like the one shown below:
target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384")
libsodium
export LDFLAGS="$LDFLAGS -Wl,-z,max-page-size=16384 -Wl,--gc-sections"
Description
Android 15 introduces a new feature related to 16KB page sizes, which may cause crashes on some devices.
The Android official documentation provides details on this update. For more information, please refer to the official website: https://developer.android.com/guide/practices/page-sizes#cmake
If you run the DuckDuckGo app on Android 15 devices that use 16KB page sizes, you may encounter crash exceptions like the one shown below:
How
libsodium
with the updated page size declaration and integrate it into this repository: