Android 16 KB fix map

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

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

fixed

Agora RTM 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.2.6, is aligned (16 KB).

12of 17 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 17 measured versions of io.agora:agora-rtm run as 2 stretches: io.agora:agora-rtm:2.1.4 to 2.2.1 offending (4 KB-aligned) (12 measured); then io.agora:agora-rtm:2.2.2 to 2.2.6 aligned (16 KB) (5 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-07-17 and the first aligned file (2.2.2) is from 2024-11-01, a gap of 107 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

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

17 of 17 published versions of io.agora:agora-rtm were downloaded and read: 12 offending, 5 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2023-08-15 to 2025-08-27. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
io.agora:agora-rtm:2.2.62025-08-27aligned16 KB16 KB
io.agora:agora-rtm:2.2.52025-06-30aligned16 KB16 KB
io.agora:agora-rtm:2.2.42025-03-31aligned16 KB16 KB
io.agora:agora-rtm:2.2.32025-03-20aligned16 KB16 KB
io.agora:agora-rtm:2.2.22024-11-01aligned16 KB16 KB
io.agora:agora-rtm:2.2.12024-07-17offending4 KB4 KB
io.agora:agora-rtm:2.2.02024-04-15offending4 KB4 KB
io.agora:agora-rtm:2.1.122024-06-06offending4 KB4 KB
io.agora:agora-rtm:2.1.112024-04-30offending4 KB4 KB
io.agora:agora-rtm:2.1.102024-02-23offending4 KB4 KB
io.agora:agora-rtm:2.1.92024-01-09offending4 KB4 KB
io.agora:agora-rtm:2.1.82023-11-29offending4 KB4 KB
io.agora:agora-rtm:2.1.72023-10-19offending4 KB4 KB
io.agora:agora-rtm:2.1.62023-09-18offending4 KB4 KB
io.agora:agora-rtm:2.1.52023-09-01offending4 KB4 KB
io.agora:agora-rtm:2.1.4.52012.test.082023-08-15offending4 KB4 KB
io.agora:agora-rtm:2.1.42023-08-15offending4 KB4 KB

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
Wed, 17 Jul 2024 07:42:37 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
Fri, 01 Nov 2024 02:13:17 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.so: 4 KB (offending) in io.agora:agora-rtm:2.1.4 to 2.2.1 (12 versions); 16 KB (16 KB-compatible) in io.agora:agora-rtm:2.2.2 to 2.2.6 (5 versions)
  • libaosl.so: 4 KB (offending) in io.agora:agora-rtm:2.2.0 to 2.2.1 (2 versions); 16 KB (16 KB-compatible) in io.agora:agora-rtm:2.2.2 to 2.2.6 (5 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:agora-rtm:2.2.1")
+implementation("io.agora:agora-rtm:2.2.2")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 2.2.6). Check: ./gradlew :app:dependencyInsight --dependency agora-rtm --configuration releaseRuntimeClasspath

Method and sources

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

All 17 published versions were downloaded and measured.

Email me if Agora RTM'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.