SQLCipher (sqlcipher-android) 16 KB fix: upgrade to 4.6.1
Artifact net.zetetic:sqlcipher-android · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
SQLCipher (sqlcipher-android) versions up to and including 4.6.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 4.6.1; the newest measured, 4.19.1, is aligned (16 KB).
7of 24 measured versions with native code ship 4 KB-aligned libraries
4.6.0: p_align = 4 KB (4096)4.6.1: 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 24 measured versions of net.zetetic:sqlcipher-android run as 2 stretches: net.zetetic:sqlcipher-android:4.5.2 to 4.6.0 offending (4 KB-aligned) (7 measured); then net.zetetic:sqlcipher-android:4.6.1 to 4.19.1 aligned (16 KB) (17 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 4.6.1 is the very next published version after the last offending 4.6.0.
By repository file date, the last offending file (4.6.0) is from 2024-05-21 and the first aligned file (4.6.1) is from 2024-08-20, a gap of 91 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2022: 2 offending (4 KB-aligned)
- 2023: 2 offending (4 KB-aligned)
- 2024: 3 offending (4 KB-aligned), 1 aligned (16 KB)
- 2025: 7 aligned (16 KB)
- 2026: 9 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
24 of 25 published versions of net.zetetic:sqlcipher-android were downloaded and read: 7 offending, 17 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2022-08-03 to 2026-09-29. 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/libsqlcipher.so- file date
- Tue, 21 May 2024 16:18:06 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libsqlcipher.so- file date
- Tue, 20 Aug 2024 14:38:14 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 4.19.1; the last offending one is 4.6.0. It ships 1 native library per ABI: libsqlcipher.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):
libsqlcipher.so: 4 KB (offending) innet.zetetic:sqlcipher-android:4.5.2to4.6.0(7 versions); 16 KB (16 KB-compatible) innet.zetetic:sqlcipher-android:4.6.1to4.19.1(17 versions)
| Library file | ABI | p_align @ 4.6.0 | p_align @ 4.19.1 |
|---|---|---|---|
libsqlcipher.so | arm64-v8a | 4 KB | 16 KB |
libsqlcipher.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("net.zetetic:sqlcipher-android:4.6.0")implementation("net.zetetic:sqlcipher-android:4.6.1")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 4.19.1). Check: ./gradlew :app:dependencyInsight --dependency sqlcipher-android --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in repo1.maven.org/maven2/net/zetetic/sqlcipher-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 (1 of 25; their status is unknown): 4.9.0.
Related artifacts
- SQLCipher (legacy android-database-sqlcipher)net.zetetic:android-database-sqlcipher6 of 19 measured versions offending · no aligned release
- 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.