Android 16 KB fix map

Agora RTM sdk 16 KB page-size fix: upgrade to 2.2.2

Artifact io.agora.rtm:rtm-sdk · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

fixed

Agora RTM sdk versions up to and including 2.2.1 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.2.2; the newest measured, 2.3.0, is without an arm64-v8a/x86_64 .so.

20of 23 measured versions with native code ship 4 KB-aligned libraries

Last offending 2.2.1: p_align = 4 KB (4096)
First aligned 2.2.2: 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 26 measured versions of io.agora.rtm:rtm-sdk run as 4 stretches: io.agora.rtm:rtm-sdk:0.0.2.test without an arm64-v8a/x86_64 .so (1 measured); then io.agora.rtm:rtm-sdk:1.4.4 to 2.2.1 offending (4 KB-aligned) (20 measured); then io.agora.rtm:rtm-sdk:2.2.2 to 2.2.6 aligned (16 KB) (3 measured); then io.agora.rtm:rtm-sdk:2.2.8 to 2.3.0 without an arm64-v8a/x86_64 .so (2 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

The boundary is exact: 2.2.2 is the very next published version after the last offending 2.2.1.

By repository file date, the last offending file (2.2.1) is from 2024-08-09 and the first aligned file (2.2.2) is from 2024-12-12, a gap of 125 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2022: 13 offending (4 KB-aligned)
  • 2023: 1 offending (4 KB-aligned)
  • 2024: 6 offending (4 KB-aligned), 1 aligned (16 KB)
  • 2025: 2 aligned (16 KB)
  • 2026: 3 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

26 of 26 published versions of io.agora.rtm:rtm-sdk were downloaded and read: 20 offending, 3 aligned, 3 with no arm64-v8a/x86_64 .so. Measured files date from 2022-03-03 to 2026-07-17. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
io.agora.rtm:rtm-sdk:2.3.02026-07-17no 64-bit .so––
io.agora.rtm:rtm-sdk:2.2.82026-02-04no 64-bit .so––
io.agora.rtm:rtm-sdk:2.2.62025-11-20aligned16 KB16 KB
io.agora.rtm:rtm-sdk:2.2.42025-04-11aligned16 KB16 KB
io.agora.rtm:rtm-sdk:2.2.22024-12-12aligned16 KB16 KB
io.agora.rtm:rtm-sdk:2.2.12024-08-09offending4 KB4 KB
io.agora.rtm:rtm-sdk:2.1.122024-06-28offending4 KB4 KB
io.agora.rtm:rtm-sdk:2.1.112024-05-10offending4 KB4 KB
io.agora.rtm:rtm-sdk:2.1.102024-03-07offending4 KB4 KB
io.agora.rtm:rtm-sdk:2.1.92024-02-28offending4 KB4 KB
io.agora.rtm:rtm-sdk:2.1.72024-01-22offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.5.32022-10-14offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.5.22022-10-13offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.5.12022-08-31offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.5.02022-07-22offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.10.2092023-02-09offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.10.2082022-10-13offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.102022-03-04offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.92022-03-03offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.82022-08-11offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.72022-07-21offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.62022-08-11offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.5.02022-08-17offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.52022-04-08offending4 KB4 KB
io.agora.rtm:rtm-sdk:1.4.42022-08-11offending4 KB4 KB
io.agora.rtm:rtm-sdk:0.0.2.test2026-02-03no 64-bit .so––
Specific to Agora RTM sdk
  • NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): rtm-sdk-lite:2.3.0 aligned; aosl:1.3.5 aligned. Only these versions were measured; any other successor version is UNVERIFIED

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 2.2.1first aligned 2.2.2
Last offendingversion 2.2.1

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libagora-rtm-sdk.so
file date
Fri, 09 Aug 2024 08:58:51 GMT
source
artifact
First alignedversion 2.2.2

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/libagora-rtm-sdk.so
file date
Thu, 12 Dec 2024 06:54:36 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 2.2.6; the last offending one is 2.2.1. It ships 2 native libraries per ABI: libagora-rtm-sdk.so, libaosl.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):

  • libagora-rtm-sdk-jni.so: 4 KB (offending) in io.agora.rtm:rtm-sdk:1.4.4 to 1.5.3 (14 versions)
  • libagora-rtm-sdk.so: 4 KB (offending) in io.agora.rtm:rtm-sdk:2.1.7 to 2.2.1 (6 versions); 16 KB (16 KB-compatible) in io.agora.rtm:rtm-sdk:2.2.2 to 2.2.6 (3 versions)
  • libaosl.so: 4 KB (offending) in io.agora.rtm:rtm-sdk:2.2.1 (1 version); 16 KB (16 KB-compatible) in io.agora.rtm:rtm-sdk:2.2.2 to 2.2.6 (3 versions)
Library fileABIp_align @ 2.2.1p_align @ 2.2.6
libagora-rtm-sdk.soarm64-v8a4 KB16 KB
libagora-rtm-sdk.sox86_644 KB16 KB
libaosl.soarm64-v8a64 KB16 KB
libaosl.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("io.agora.rtm:rtm-sdk:2.2.1")
+implementation("io.agora.rtm:rtm-sdk:2.2.2")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 2.3.0, which ships no 64-bit .so: natives removed or moved, measure the separate artifact). Check: ./gradlew :app:dependencyInsight --dependency rtm-sdk --configuration releaseRuntimeClasspath // NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): rtm-sdk-lite:2.3.0 aligned; aosl:1.3.5 aligned. Only these versions were measured; any other successor version is UNVERIFIED

Method and sources

Measured from the published files in repo1.maven.org/maven2/io/agora/rtm/rtm-sdk/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.

All 26 published versions were downloaded and measured.

Email me if Agora RTM sdk's measured 16 KB status changes

You get an email when a re-measurement changes the status. No newsletter.

Double opt-in. Stored: email, library ids, this wording, the time. No IP.