ARCore 16 KB page-size fix: upgrade to 1.43.0
Artifact com.google.ar:core · measured 2026-10-01 · all libraries
fixed
ARCore versions up to and including 1.42.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 1.43.0; the newest measured, 1.56.0, is aligned.
Per-major-line fixes
Different major versions have separate fix paths:
1.x: upgrade to1.43.0
- 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 -> use measured aligned 1.43.0 (after offending 1.42.0). Re-run the checker on the version you resolve
- ARCHITECTURE-SPECIFIC: the last offending measurement 1.42.0 is x86_64-only; its arm64-v8a libraries are aligned
- Sampled, not exhaustive: 36 of 58 published versions were measured with native code; unmeasured versions in between are unknown.
Measured evidence
| Version | Library file | p_align | File date | Source | |
|---|---|---|---|---|---|
| Last offending | 1.42.0 | jni/x86_64/libarcore_sdk_c.so | 4 KB (2^12) | Fri, 15 Mar 2024 16:36:25 GMT | artifact |
| First aligned | 1.43.0 | jni/arm64-v8a/libarcore_sdk_c.so | 16 KB (2^14) | Tue, 14 May 2024 20:13:52 GMT | artifact |
p_align is the smallest PT_LOAD segment alignment of the ELF. 16 KB-compatible needs at least 16384 (2^14). Method: min PT_LOAD p_align of arm64-v8a/x86_64 .so inside the published AAR/JAR; aligned = >=16384 for every lib. Dates are repository file times, not official release dates.
Offending versions measured (17)
1.7.0, 1.8.0, 1.10.0, 1.13.0, 1.15.0, 1.18.0, 1.20.0, 1.23.0, 1.25.0, 1.28.0, 1.30.0, 1.33.0, 1.35.0, 1.38.0, 1.40.0, 1.41.0, 1.42.0
Native libraries seen: libarcore_sdk.so, libarcore_sdk_c.so, libarcore_sdk_jni.so.
The Gradle change
implementation("com.google.ar:core:1.43.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 1.56.0). Check: ./gradlew :app:dependencyInsight --dependency core --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 -> use measured aligned 1.43.0 (after offending 1.42.0). Re-run the checker on the version you resolve // ARCHITECTURE-SPECIFIC: the last offending measurement 1.42.0 is x86_64-only; its arm64-v8a libraries are aligned
Confirm what Gradle actually resolves, since another dependency may pull an older version:
./gradlew :app:dependencyInsight --dependency core --configuration releaseRuntimeClasspathRe-verify it yourself
Download the artifact and run the free checker (check16k.py, Python 3, no dependencies):
curl -LO https://dl.google.com/android/maven2/com/google/ar/core/1.43.0/core-1.43.0.aar
python3 check16k.py core-1.43.0.aarExit 0 = aligned, 1 = an unaligned library found. Better still, run it on your final .aab/.apk.
The paid kit ($12, v2) contains the complete measured fix map for all 80+ libraries as JSON and a table, every raw per-version measurement, the spot-check evidence, and the step-by-step guide for Play's 16 KB requirement. This page and the checker script stay free.
Get the kit ($12)