android-spatialite icon indicating copy to clipboard operation
android-spatialite copied to clipboard

android-spatialite:2.0.1 is not 16 KB aligned

Open Tybion opened this issue 10 months ago • 3 comments

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

Tybion avatar May 10 '25 03:05 Tybion

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.

Tybion avatar Aug 28 '25 00:08 Tybion

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.

Tybion avatar Sep 22 '25 22:09 Tybion

This problem is kindly solved in Darwin's fork at - https://github.com/dalgarins/android-spatialite/pull/12

Tybion avatar Nov 12 '25 07:11 Tybion