Sentry NDK 16 KB page-size fix: upgrade to 7.18.0
Artifact io.sentry:sentry-android-ndk · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
Sentry NDK versions up to and including 7.17.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 7.18.0; the newest measured, 8.59.0, is without an arm64-v8a/x86_64 .so.
24of 27 measured versions with native code ship 4 KB-aligned libraries
7.17.0: p_align = 4 KB (4096)7.18.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 42 measured versions of io.sentry:sentry-android-ndk run as 3 stretches: io.sentry:sentry-android-ndk:2.0.0-alpha04 to 7.17.0 offending (4 KB-aligned) (24 measured); then io.sentry:sentry-android-ndk:7.18.0 to 7.19.1 aligned (16 KB) (3 measured); then io.sentry:sentry-android-ndk:8.0.0-alpha.2 to 8.59.0 without an arm64-v8a/x86_64 .so (15 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
1 published version sit between the last offending 7.17.0 and the first aligned 7.18.0: 7.17.0-alpha.1. 1 of them was never measured (prerelease, or no AAR/JAR to download), so the true boundary may be earlier than 7.18.0.
By repository file date, the last offending file (7.17.0) is from 2024-11-12 and the first aligned file (7.18.0) is from 2024-11-18, a gap of 6 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2019: 2 offending (4 KB-aligned)
- 2020: 8 offending (4 KB-aligned)
- 2021: 4 offending (4 KB-aligned)
- 2022: 4 offending (4 KB-aligned)
- 2023: 2 offending (4 KB-aligned)
- 2024: 4 offending (4 KB-aligned), 3 aligned (16 KB), 1 without an arm64-v8a/x86_64 .so
- 2025: 4 without an arm64-v8a/x86_64 .so
- 2026: 10 without an arm64-v8a/x86_64 .so
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
42 of 303 published versions of io.sentry:sentry-android-ndk were downloaded and read: 24 offending, 3 aligned, 15 with no arm64-v8a/x86_64 .so. Measured files date from 2019-11-12 to 2026-10-01. Newest first. Each version links to the file measured.
- NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): sentry-native-ndk:0.16.6 aligned; sentry-native-ndk:0.17.1 aligned. Only these versions were measured; any other successor version is UNVERIFIED. Which sentry-native-ndk version sentry-android-ndk 8.59.0 pulls was NOT read (mirror lagged); 8.58.0 pulls 0.16.6, measured aligned
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libsentry-android.so- file date
- Tue, 12 Nov 2024 14:12:55 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libsentry-android.so- file date
- Mon, 18 Nov 2024 15:47:12 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 7.19.1; the last offending one is 7.17.0. It ships 2 native libraries per ABI: libsentry-android.so, libsentry.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):
libsentry-android.so: 4 KB (offending) inio.sentry:sentry-android-ndk:2.0.0-alpha04to7.17.0(24 versions); 16 KB (16 KB-compatible) inio.sentry:sentry-android-ndk:7.18.0to7.19.1(3 versions)libsentry.so: 4 KB (offending) inio.sentry:sentry-android-ndk:2.0.0-alpha04to7.17.0(24 versions); 16 KB (16 KB-compatible) inio.sentry:sentry-android-ndk:7.18.0to7.19.1(3 versions)
| Library file | ABI | p_align @ 7.17.0 | p_align @ 7.19.1 |
|---|---|---|---|
libsentry-android.so | arm64-v8a | 4 KB | 16 KB |
libsentry-android.so | x86_64 | 4 KB | 16 KB |
libsentry.so | arm64-v8a | 4 KB | 16 KB |
libsentry.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("io.sentry:sentry-android-ndk:7.17.0")implementation("io.sentry:sentry-android-ndk:7.18.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 8.59.0, which ships no 64-bit .so: natives removed or moved, measure the separate artifact). Check: ./gradlew :app:dependencyInsight --dependency sentry-android-ndk --configuration releaseRuntimeClasspath // NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): sentry-native-ndk:0.16.6 aligned; sentry-native-ndk:0.17.1 aligned. Only these versions were measured; any other successor version is UNVERIFIED. Which sentry-native-ndk version sentry-android-ndk 8.59.0 pulls was NOT read (mirror lagged); 8.58.0 pulls 0.16.6, measured aligned
Method and sources
Measured from the published files in repo1.maven.org/maven2/io/sentry/sentry-android-ndk/. 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 (261 of 303; their status is unknown): 8.51.0, 8.50.1, 8.50.0, 8.49.0, 8.48.0, 8.46.0, 8.45.0, 8.44.1, 8.44.0, 8.43.3, 8.43.2, 8.43.1, 8.43.0, 8.42.0, 8.41.0, 8.40.0, 8.39.1, 8.38.0, 8.37.1, 8.37.0, 8.36.0, 8.35.0, 8.34.1, 8.34.0, 8.33.0, 8.32.0, 8.31.0, 8.30.0, 8.29.0, 8.27.1, 8.27.0, 8.26.0, 8.25.0, 8.24.0-alpha.2, 8.24.0-alpha.1, 8.24.0, 8.23.1-alpha.1, 8.23.0, 8.22.0, 8.21.1, 8.21.0, 8.20.0, 8.19.0, 8.18.0, 8.17.0, 8.16.1-alpha.2, 8.16.0, 8.15.1, 8.15.0, 8.14.0, 8.13.3, 8.13.2, 8.13.1, 8.13.0, 8.11.1, 8.11.0-alpha.1, 8.11.0, 8.10.0-alpha.1, 8.10.0, 8.9.0-alpha.1, 8.9.0, 8.8.0, 8.7.0, 8.6.0, 8.5.0, 8.4.0, 8.2.0, 8.1.0, 8.0.0-rc.4, 8.0.0-rc.3, 8.0.0-rc.2, 8.0.0-rc.1, 8.0.0-beta.3, 8.0.0-beta.2, 8.0.0-beta.1, 8.0.0-alpha.4, 8.0.0-alpha.3, 8.0.0-alpha.1, 8.0.0, 7.22.6, 7.22.5, 7.22.4, 7.22.3, 7.22.2, 7.22.1, 7.22.0, 7.21.0-beta.1, 7.21.0, 7.20.1, 7.20.0, 7.19.0, 7.17.0-alpha.1, 7.16.0, 7.15.0-alpha.1, 7.15.0, 7.14.0, 7.13.0, 7.12.1, 7.12.0-alpha.4, 7.12.0-alpha.3, 7.11.0-alpha.2, 7.11.0, 7.10.0, 7.9.0-alpha.1, 7.9.0, 7.8.0-alpha.0, 7.8.0, 7.7.0, 7.6.0, 7.5.0, 7.3.0, 7.2.0, 7.1.0, 7.0.0-rc.2, 7.0.0-rc.1, 7.0.0-beta.1, 7.0.0, 6.34.0, 6.33.2-beta.1, 6.33.1, 6.33.0, 6.32.0, 6.30.0, 6.29.0, 6.28.0, 6.27.0, 6.26.0, 6.25.2, 6.25.1, 6.25.0, 6.24.0, 6.23.0, 6.22.0, 6.21.0, 6.20.0, 6.19.0, 6.18.1, 6.18.0, 6.17.0, 6.16.0-beta.1, 6.16.0, 6.15.0, 6.14.0, 6.13.1, 6.13.0, 6.12.1, 6.12.0, 6.10.0, 6.9.2, 6.9.1, 6.9.0, 6.8.0, 6.7.1, 6.7.0-alpha.1, 6.7.0, 6.6.0, 6.5.0-beta.3, 6.5.0-beta.2, 6.5.0, 6.4.4, 6.4.3, 6.4.2, 6.4.1, 6.4.0, 6.3.1, 6.3.0, 6.2.1, 6.2.0, 6.1.4, 6.1.3, 6.1.2, 6.1.0, 6.0.0-rc.1, 6.0.0-beta.4, 6.0.0-beta.3, 6.0.0-beta.2, 6.0.0-beta.1, 6.0.0-alpha.6, 6.0.0-alpha.5, 6.0.0-alpha.4, 6.0.0-alpha.3, 6.0.0-alpha.2, 6.0.0, 5.7.4, 5.7.3, 5.7.2, 5.7.1, 5.7.0, 5.6.3, 5.6.2-beta.3, 5.6.2-beta.2, 5.6.2-beta.1, 5.6.2, 5.6.1, 5.6.0, 5.5.2, 5.5.1, 5.5.0, 5.4.3, 5.4.2, 5.4.1, 5.4.0, 5.3.0, 5.2.4, 5.2.3, 5.2.2, 5.2.1, 5.2.0-beta.3, 5.2.0-beta.2, 5.2.0-beta.1, 5.1.2, 5.1.1, 5.1.0-beta.9, 5.1.0-beta.8, 5.1.0-beta.7, 5.1.0-beta.6, 5.1.0-beta.5, 5.1.0-beta.4, 5.1.0-beta.2, 5.1.0-beta.1, 5.1.0, 5.0.1, 5.0.0-beta.7, 5.0.0-beta.6, 5.0.0-beta.5, 5.0.0-beta.4, 5.0.0-beta.3, 5.0.0-beta.2, 5.0.0-beta.1, 5.0.0, 4.4.0-alpha.2, 4.4.0-alpha.1, 4.2.0, 4.1.0, 4.0.0-beta.1, 4.0.0-alpha.3, 4.0.0-alpha.2, 4.0.0-alpha.1, 4.0.0, 3.2.1, 3.2.0, 3.1.3, 3.1.2, 3.1.1, 3.0.0-beta.1, 3.0.0-alpha.1, 3.0.0, 2.3.2, 2.3.1, 2.3.0, 2.2.2, 2.2.1, 2.2.0, 2.1.7, 2.1.6, 2.1.5, 2.1.3, 2.1.2, 2.1.1, 2.1.0-RC.1, 2.1.0.
Related artifacts
- 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
- OpenTokcom.opentok.android:opentok-android-sdk14 of 33 measured versions offending · fixed
- Vonage Videocom.vonage:client-sdk-video12 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.