Android 16 KB fix map

OpenTok 16 KB page-size fix: upgrade to 2.29.3

Artifact com.opentok.android:opentok-android-sdk · measured 2026-10-01 · all libraries

fixed

OpenTok versions up to and including 2.29.2 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 2.29.3; the newest measured, 2.35.1, is aligned.

Per-major-line fixes

Different major versions have separate fix paths:

Caveats

Measured evidence

VersionLibrary filep_alignFile dateSource
Last offending2.29.2jni/arm64-v8a/libopentok.so4 KB (2^12)Thu, 27 Mar 2025 17:59:11 GMTartifact
First aligned2.29.3jni/arm64-v8a/libopentok.so16 KB (2^14)Thu, 25 Sep 2025 16:11:30 GMTartifact

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 (14)

0.0.0, 0.0.1, 2.18.0, 2.20.0, 2.21.0, 2.21.3, 2.22.1, 2.23.1, 2.24.3, 2.25.3, 2.26.2, 2.28.0, 2.28.4, 2.29.2

Native libraries seen: libopentok.so.

The Gradle change

implementation("com.opentok.android:opentok-android-sdk:2.29.3")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 2.35.1). Check: ./gradlew :app:dependencyInsight --dependency opentok-android-sdk --configuration releaseRuntimeClasspath // NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 2.x -> use measured aligned 2.29.3 (after offending 2.29.2). Re-run the checker on the version you resolve

Confirm what Gradle actually resolves, since another dependency may pull an older version:

./gradlew :app:dependencyInsight --dependency opentok-android-sdk --configuration releaseRuntimeClasspath

Re-verify it yourself

Download the artifact and run the free checker (check16k.py, Python 3, no dependencies):

curl -LO https://repo1.maven.org/maven2/com/opentok/android/opentok-android-sdk/2.29.3/opentok-android-sdk-2.29.3.aar
python3 check16k.py opentok-android-sdk-2.29.3.aar

Exit 0 = aligned, 1 = an unaligned library found. Better still, run it on your final .aab/.apk.

Need the full map for every library, not just OpenTok?

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)

Related artifacts