Android 16 KB fix map

Realm Java library 16 KB page-size fix: upgrade to 10.19.0

Artifact io.realm:realm-android-library · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

fixed

Realm Java library versions up to and including 10.18.0 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 10.19.0; the newest measured, 10.19.0, is aligned (16 KB).

27of 28 measured versions with native code ship 4 KB-aligned libraries

Last offending 10.18.0: p_align = 4 KB (4096)
First aligned 10.19.0: p_align = 16 KB (16384)

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

How the verdict was reached

In version order, the 28 measured versions of io.realm:realm-android-library run as 2 stretches: io.realm:realm-android-library:10.4.0 to 10.18.0 offending (4 KB-aligned) (27 measured); then io.realm:realm-android-library:10.19.0 aligned (16 KB) (1 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

The boundary is exact: 10.19.0 is the very next published version after the last offending 10.18.0.

By repository file date, the last offending file (10.18.0) is from 2024-02-07 and the first aligned file (10.19.0) is from 2024-09-13, a gap of 219 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2021: 11 offending (4 KB-aligned)
  • 2022: 5 offending (4 KB-aligned)
  • 2023: 10 offending (4 KB-aligned)
  • 2024: 1 offending (4 KB-aligned), 1 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

28 of 35 published versions of io.realm:realm-android-library were downloaded and read: 27 offending, 1 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-02-27 to 2024-09-13. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
io.realm:realm-android-library:10.19.02024-09-13aligned16 KB16 KB
io.realm:realm-android-library:10.18.02024-02-07offending4 KB4 KB
io.realm:realm-android-library:10.17.02023-10-18offending4 KB4 KB
io.realm:realm-android-library:10.16.22023-10-18offending4 KB4 KB
io.realm:realm-android-library:10.16.12023-06-26offending4 KB4 KB
io.realm:realm-android-library:10.16.02023-06-02offending4 KB4 KB
io.realm:realm-android-library:10.15.12023-04-20offending4 KB4 KB
io.realm:realm-android-library:10.15.02023-04-19offending4 KB4 KB
io.realm:realm-android-library:10.14.02023-04-13offending4 KB4 KB
io.realm:realm-android-library:10.13.3-transformer-api2023-03-16offending4 KB4 KB
io.realm:realm-android-library:10.13.1-transformer-api2023-01-16offending4 KB4 KB
io.realm:realm-android-library:10.13.12023-03-16offending4 KB4 KB
io.realm:realm-android-library:10.13.02022-12-05offending4 KB4 KB
io.realm:realm-android-library:10.12.0-transformer-api2022-09-28offending4 KB4 KB
io.realm:realm-android-library:10.11.12022-07-16offending4 KB4 KB
io.realm:realm-android-library:10.11.02022-05-20offending4 KB4 KB
io.realm:realm-android-library:10.10.02022-01-18offending4 KB4 KB
io.realm:realm-android-library:10.9.02021-12-07offending4 KB4 KB
io.realm:realm-android-library:10.8.02021-08-27offending4 KB4 KB
io.realm:realm-android-library:10.7.12021-08-03offending4 KB4 KB
io.realm:realm-android-library:10.6.12021-07-01offending4 KB4 KB
io.realm:realm-android-library:10.6.0-BETA.22021-06-14offending4 KB4 KB
io.realm:realm-android-library:10.6.0-BETA.12021-05-17offending4 KB4 KB
io.realm:realm-android-library:10.6.02021-06-14offending4 KB4 KB
io.realm:realm-android-library:10.5.12021-06-14offending4 KB4 KB
io.realm:realm-android-library:10.5.02021-05-11offending4 KB4 KB
io.realm:realm-android-library:10.4.0-RC.12021-02-27offending4 KB4 KB
io.realm:realm-android-library:10.4.02021-03-28offending4 KB4 KB

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 10.18.0first aligned 10.19.0
Last offendingversion 10.18.0

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/librealm-jni.so
file date
Wed, 07 Feb 2024 04:34:16 GMT
source
artifact
First alignedversion 10.19.0

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/librealm-jni.so
file date
Fri, 13 Sep 2024 15:57:15 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 10.19.0; the last offending one is 10.18.0. It ships 1 native library per ABI: librealm-jni.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):

  • librealm-jni.so: 4 KB (offending) in io.realm:realm-android-library:10.4.0 to 10.18.0 (27 versions); 16 KB (16 KB-compatible) in io.realm:realm-android-library:10.19.0 (1 version)
Library fileABIp_align @ 10.18.0p_align @ 10.19.0
librealm-jni.soarm64-v8a4 KB16 KB
librealm-jni.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("io.realm:realm-android-library:10.18.0")
+implementation("io.realm:realm-android-library:10.19.0")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 10.19.0). Check: ./gradlew :app:dependencyInsight --dependency realm-android-library --configuration releaseRuntimeClasspath

Method and sources

Measured from the published files in repo1.maven.org/maven2/io/realm/realm-android-library/. 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 (7 of 35; their status is unknown): 10.14.0-transformer-api, 10.13.2-transformer-api, 10.13.0-transformer-api, 10.12.0, 10.10.1, 10.8.1, 10.7.0.

Email me if Realm Java library'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.