android-spatialite:2.0.1 is not 16 KB aligned
This is reported by Android Studio 2024.2.3 ..
The native library x86_64/libandroid_spatialite.so (from com.github.sevar83:android-spatialite:2.0.1) is not 16 KB aligned Android has traditionally used 4 KB memory page sizes. However, to support future devices that only work with 16 KB aligned libraries apps containing native libraries need to be built with 16 KB alignment.
Apps with 4 KB aligned native libraries may not work correctly on devices requiring 16 KB alignment. To ensure compatibility and future-proof your app, it is strongly recommended that your native libraries are aligned to 16 KB boundaries
An email from Google today ..
** [Action required] Your app is affected by Google Play's 16 KB page size requirements**
To ensure your app works correctly on the latest versions of Android, Google Play requires all apps targeting Android 15+ to support 16 KB memory page sizes. From May 1, 2026, if your app updates do not support 16 KB memory page sizes, you won't be able to release these updates.
The more recent warning from Google ...
Your app must support 16 KB memory page sizes by November 1, 2025 Your app uses native libraries that don't support 16 KB memory page sizes. Recompile your app to support 16 KB by November 1, 2025 to continue releasing updates to your app.
This problem is kindly solved in Darwin's fork at - https://github.com/dalgarins/android-spatialite/pull/12