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
10.18.0: p_align = 4 KB (4096)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.
Measured evidence
4 KBp_align 4096 = 2^12
- 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
16 KBp_align 16384 = 2^14
- 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) inio.realm:realm-android-library:10.4.0to10.18.0(27 versions); 16 KB (16 KB-compatible) inio.realm:realm-android-library:10.19.0(1 version)
| Library file | ABI | p_align @ 10.18.0 | p_align @ 10.19.0 |
|---|---|---|---|
librealm-jni.so | arm64-v8a | 4 KB | 16 KB |
librealm-jni.so | x86_64 | 4 KB | 16 KB |
The Gradle change
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.
Related artifacts
- SQLCipher (sqlcipher-android)net.zetetic:sqlcipher-android7 of 24 measured versions offending · fixed
- Sentry NDKio.sentry:sentry-android-ndk24 of 27 measured versions offending · fixed
- Twilio Videocom.twilio:video-android30 of 39 measured versions offending · fixed
- Twilio Voicecom.twilio:voice-android28 of 38 measured versions offending · fixed
- libVLCorg.videolan.android:libvlc-all32 of 45 measured versions offending · fixed
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.