camera-core 16 KB page-size fix: upgrade to 1.4.0
Artifact androidx.camera:camera-core · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
camera-core versions up to and including 1.3.4 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 1.4.0; the newest measured, 1.6.2, is aligned (16 KB).
10of 27 measured versions with native code ship 4 KB-aligned libraries
1.3.4: p_align = 4 KB (4096)1.4.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 41 measured versions of androidx.camera:camera-core run as 5 stretches: androidx.camera:camera-core:1.0.0-alpha01 to 1.1.0-alpha05 without an arm64-v8a/x86_64 .so (14 measured); then androidx.camera:camera-core:1.1.0-alpha10 to 1.3.4 offending (4 KB-aligned) (9 measured); then androidx.camera:camera-core:1.4.0 aligned (16 KB) (1 measured); then androidx.camera:camera-core:1.4.0-alpha04 offending (4 KB-aligned) (1 measured); then androidx.camera:camera-core:1.4.0-alpha05 to 1.7.0-alpha03 aligned (16 KB) (16 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 1.4.0 is the very next published version after the last offending 1.3.4.
By repository file date, the last offending file (1.3.4) is from 2024-06-12 and the first aligned file (1.4.0) is from 2024-10-30, a gap of 140 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2019: 8 without an arm64-v8a/x86_64 .so
- 2020: 3 without an arm64-v8a/x86_64 .so
- 2021: 3 without an arm64-v8a/x86_64 .so, 1 offending (4 KB-aligned)
- 2022: 3 offending (4 KB-aligned)
- 2023: 3 offending (4 KB-aligned)
- 2024: 5 aligned (16 KB), 3 offending (4 KB-aligned)
- 2025: 4 aligned (16 KB)
- 2026: 8 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
41 of 113 published versions of androidx.camera:camera-core were downloaded and read: 10 offending, 17 aligned, 14 with no arm64-v8a/x86_64 .so. Measured files date from 2019-05-07 to 2026-08-26. Newest first. Each version links to the file measured.
- The boundary is not exact: only prerelease or unlisted versions lie between the last offending and the first aligned version, so an earlier aligned stable version cannot be ruled out.
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/x86_64/libimage_processing_util_jni.so- file date
- Wed, 12 Jun 2024 17:01:25 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libimage_processing_util_jni.so- file date
- Wed, 30 Oct 2024 17:02:31 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 1.7.0-alpha03; the last offending one is 1.3.4. It ships 2 native libraries per ABI: libimage_processing_util_jni.so, libsurface_util_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):
libimage_processing_util_jni.so: 4 KB (offending) inandroidx.camera:camera-core:1.1.0-alpha10to1.3.4(9 versions); 16 KB (16 KB-compatible) inandroidx.camera:camera-core:1.4.0(1 version); 4 KB (offending) inandroidx.camera:camera-core:1.4.0-alpha04(1 version); 16 KB (16 KB-compatible) inandroidx.camera:camera-core:1.4.0-alpha05to1.7.0-alpha03(16 versions)libsurface_util_jni.so: 16 KB (16 KB-compatible) inandroidx.camera:camera-core:1.4.1to1.7.0-alpha03(13 versions)
| Library file | ABI | p_align @ 1.3.4 | p_align @ 1.7.0-alpha03 |
|---|---|---|---|
libimage_processing_util_jni.so | arm64-v8a | 4 KB | 16 KB |
libimage_processing_util_jni.so | x86_64 | 4 KB | 16 KB |
libsurface_util_jni.so | arm64-v8a | – | 16 KB |
libsurface_util_jni.so | x86_64 | – | 16 KB |
The Gradle change
implementation("androidx.camera:camera-core:1.3.4")implementation("androidx.camera:camera-core:1.4.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 1.6.2). Check: ./gradlew :app:dependencyInsight --dependency camera-core --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in dl.google.com/android/maven2/androidx/camera/camera-core/. 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 (72 of 113; their status is unknown): 1.6.0-beta01, 1.6.0-alpha02, 1.5.3, 1.5.2, 1.5.1, 1.5.0-beta02, 1.5.0-beta01, 1.5.0-alpha06, 1.5.0-alpha04, 1.5.0-alpha03, 1.5.0-alpha02, 1.5.0-alpha01, 1.5.0, 1.4.0-rc04, 1.4.0-rc03, 1.4.0-rc01, 1.4.0-beta02, 1.4.0-alpha03, 1.4.0-alpha02, 1.4.0-alpha01, 1.3.2, 1.3.1, 1.3.0-rc02, 1.3.0-beta02, 1.3.0-beta01, 1.3.0-alpha07, 1.3.0-alpha06, 1.3.0-alpha04, 1.3.0-alpha03, 1.3.0-alpha02, 1.3.0-alpha01, 1.3.0, 1.2.2, 1.2.1, 1.2.0-beta02, 1.2.0-beta01, 1.2.0-alpha04, 1.2.0-alpha03, 1.2.0-alpha01, 1.2.0, 1.1.0-rc02, 1.1.0-rc01, 1.1.0-beta02, 1.1.0-beta01, 1.1.0-alpha12, 1.1.0-alpha11, 1.1.0-alpha09, 1.1.0-alpha08, 1.1.0-alpha07, 1.1.0-alpha06, 1.1.0-alpha04, 1.1.0-alpha03, 1.1.0-alpha02, 1.1.0-alpha01, 1.1.0, 1.0.1, 1.0.0-rc05, 1.0.0-rc04, 1.0.0-rc02, 1.0.0-rc01, 1.0.0-beta12, 1.0.0-beta11, 1.0.0-beta09, 1.0.0-beta08, 1.0.0-beta07, 1.0.0-beta05, 1.0.0-beta04, 1.0.0-beta03, 1.0.0-beta02, 1.0.0-alpha10, 1.0.0-alpha09, 1.0.0.
Related artifacts
- androidx.graphics:graphics-pathandroidx.graphics:graphics-path4 of 11 measured versions offending · fixed
- AppLovincom.applovin:applovin-sdk3 of 13 measured versions offending · fixed
- Bugsnag NDKcom.bugsnag:bugsnag-plugin-android-ndk26 of 39 measured versions offending · fixed
- Conscryptorg.conscrypt:conscrypt-android21 of 32 measured versions offending · fixed
- Couchbase Litecom.couchbase.lite:couchbase-lite-android15 of 30 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.