Android 16 KB fix map

Couchbase Lite 16 KB page-size fix: upgrade to 3.2.3

Artifact com.couchbase.lite:couchbase-lite-android · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

fixed

Couchbase Lite versions up to and including 3.2.2 that we measured ship 4 KB-aligned native libraries (offending for Google Play's 16 KB page-size requirement). The first measured aligned stable version is 3.2.3; the newest measured, 4.1.2, is aligned (16 KB).

15of 30 measured versions with native code ship 4 KB-aligned libraries

Last offending 3.2.2: p_align = 4 KB (4096)
First aligned 3.2.3: p_align = 16 KB (16384)

Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.

Per-major-line fixes

Different major versions have separate fix paths:

  • 3.x: upgrade to 3.2.3

How the verdict was reached

In version order, the 37 measured versions of com.couchbase.lite:couchbase-lite-android run as 5 stretches: com.couchbase.lite:couchbase-lite-android:1.1.0 offending (4 KB-aligned) (1 measured); then com.couchbase.lite:couchbase-lite-android:1.2.0 to 1.4.4 without an arm64-v8a/x86_64 .so (7 measured); then com.couchbase.lite:couchbase-lite-android:2.0.0 to 2.5.0 aligned (16 KB) (4 measured); then com.couchbase.lite:couchbase-lite-android:2.5.2.1 to 3.2.2 offending (4 KB-aligned) (14 measured); then com.couchbase.lite:couchbase-lite-android:3.2.3 to 4.1.2 aligned (16 KB) (11 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

The boundary is exact: 3.2.3 is the very next published version after the last offending 3.2.2.

By repository file date, the last offending file (3.2.2) is from 2025-03-15 and the first aligned file (3.2.3) is from 2025-04-30, a gap of 46 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2015: 1 offending (4 KB-aligned)
  • 2016: 4 without an arm64-v8a/x86_64 .so
  • 2017: 2 without an arm64-v8a/x86_64 .so
  • 2018: 2 aligned (16 KB), 1 without an arm64-v8a/x86_64 .so
  • 2019: 2 aligned (16 KB), 2 offending (4 KB-aligned)
  • 2020: 2 offending (4 KB-aligned)
  • 2021: 2 offending (4 KB-aligned)
  • 2022: 1 offending (4 KB-aligned)
  • 2023: 2 offending (4 KB-aligned)
  • 2024: 4 offending (4 KB-aligned)
  • 2025: 4 aligned (16 KB), 1 offending (4 KB-aligned)
  • 2026: 7 aligned (16 KB)

The offending versions fail on arm64-v8a and x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.

Every version measured

37 of 64 published versions of com.couchbase.lite:couchbase-lite-android were downloaded and read: 15 offending, 15 aligned, 7 with no arm64-v8a/x86_64 .so. Measured files date from 2015-06-23 to 2026-09-14. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
com.couchbase.lite:couchbase-lite-android:4.1.22026-09-14aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:4.1.02026-06-30aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:4.0.42026-05-22aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:4.0.32026-02-23aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:4.0.22025-12-17aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:4.0.02025-10-24aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.4.22026-09-14aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.4.02026-06-29aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.3.32026-05-21aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.3.02025-10-08aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.2.32025-04-30aligned16 KB16 KB
com.couchbase.lite:couchbase-lite-android:3.2.22025-03-15offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.2.12024-11-12offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.2.0-beta.12024-03-27offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.1.92024-08-09offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.1.62024-03-06offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.1.22023-09-11offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.0.152023-11-06offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.0.22022-08-02offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:3.0.0-beta012021-09-21offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.8.52021-03-11offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.8.02020-10-01offending4 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.6.42020-02-11offending64 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.5.32019-07-31offending64 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.5.2.12019-07-10offending64 KB4 KB
com.couchbase.lite:couchbase-lite-android:2.5.02019-04-30aligned64 KB–
com.couchbase.lite:couchbase-lite-android:2.1.52019-06-03aligned64 KB–
com.couchbase.lite:couchbase-lite-android:2.1.22018-11-16aligned64 KB–
com.couchbase.lite:couchbase-lite-android:2.0.02018-04-12aligned64 KB–
com.couchbase.lite:couchbase-lite-android:1.4.42018-10-18no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.4.12017-11-16no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.4.02017-03-07no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.3.12016-09-13no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.3.02016-08-01no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.2.12016-04-25no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.2.02016-02-03no 64-bit .so––
com.couchbase.lite:couchbase-lite-android:1.1.02015-06-23offending64 KB4 KB
Specific to Couchbase Lite
  • Non-monotone history. An aligned stable release exists before a later offending one (parallel release lines or backports). A higher version number does not guarantee alignment: pick your exact version and measure it. The version below is only the lowest aligned stable version above the highest offending one.
  • NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> no aligned release measured after offending 1.1.0; 2.x -> no aligned release measured after offending 2.8.5; 2.5.0 was aligned before the regression; 3.x -> use measured aligned 3.2.3 (after offending 3.2.2). Re-run the checker on the version you resolve

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 3.2.2first aligned 3.2.3
Last offendingversion 3.2.2

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libLiteCore.so
file date
Sat, 15 Mar 2025 00:08:52 GMT
source
artifact
First alignedversion 3.2.3

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/libLiteCore.so
file date
Wed, 30 Apr 2025 18:40:35 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 4.1.2; the last offending one is 3.2.2. It ships 2 native libraries per ABI: libLiteCore.so, libLiteCoreJNI.so. The verdict is the lowest p_align among them.

Lowest p_align of each native library file across the measured versions (in version order):

  • libLiteCore.so: 4 KB (offending) in com.couchbase.lite:couchbase-lite-android:3.1.2 to 3.2.2 (6 versions); 16 KB (16 KB-compatible) in com.couchbase.lite:couchbase-lite-android:3.2.3 to 4.0.4 (7 versions)
  • libLiteCoreJNI.so: 64 KB (16 KB-compatible) in com.couchbase.lite:couchbase-lite-android:2.0.0 to 2.5.0 (4 versions); 4 KB (offending) in com.couchbase.lite:couchbase-lite-android:2.5.2.1 to 3.2.2 (14 versions); 16 KB (16 KB-compatible) in com.couchbase.lite:couchbase-lite-android:3.2.3 to 4.1.2 (11 versions)
  • libcom_couchbase_touchdb_RevCollator.so: 4 KB (offending) in com.couchbase.lite:couchbase-lite-android:1.1.0 (1 version)
  • libcom_couchbase_touchdb_TDCollateJSON.so: 4 KB (offending) in com.couchbase.lite:couchbase-lite-android:1.1.0 (1 version)
Library fileABIp_align @ 3.2.2p_align @ 4.1.2
libLiteCore.soarm64-v8a4 KB–
libLiteCore.sox86_644 KB–
libLiteCoreJNI.soarm64-v8a4 KB16 KB
libLiteCoreJNI.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("com.couchbase.lite:couchbase-lite-android:3.2.2")
+implementation("com.couchbase.lite:couchbase-lite-android:3.2.3")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 4.1.2). Check: ./gradlew :app:dependencyInsight --dependency couchbase-lite-android --configuration releaseRuntimeClasspath // NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> no aligned release measured after offending 1.1.0; 2.x -> no aligned release measured after offending 2.8.5; 2.5.0 was aligned before the regression; 3.x -> use measured aligned 3.2.3 (after offending 3.2.2). Re-run the checker on the version you resolve

Method and sources

Measured from the published files in repo1.maven.org/maven2/com/couchbase/lite/couchbase-lite-android/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.

Published but not downloaded for this page (27 of 64; their status is unknown): 3.3.2, 3.3.1, 3.2.6, 3.2.4, 3.2.0-beta.2, 3.2.0, 3.1.11, 3.1.10, 3.1.8, 3.1.7, 3.1.3, 3.1.1, 3.1.0, 3.0.12, 3.0.5, 3.0.0-beta02, 3.0.0, 2.8.6, 2.8.4, 2.8.1, 2.7.1, 2.7.0, 2.6.2, 2.6.0, 2.5.2, 2.1.0, 2.0.2.

Email me if Couchbase Lite's measured 16 KB status changes

You get an email when a re-measurement changes the status. No newsletter.

Double opt-in. Stored: email, library ids, this wording, the time. No IP.