Agora RTC voice-sdk 16 KB fix: upgrade to 4.6.4
Artifact io.agora.rtc:voice-sdk · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
native code removed
From 4.5.0 on, Agora RTC voice-sdk no longer ships arm64-v8a/x86_64 .so files in this artifact, so upgrading removes the problem here. The natives were removed or moved; see what that means.
28of 28 measured versions with native code ship 4 KB-aligned libraries
4.4.1: p_align = 4 KB (4096)Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.
How the verdict was reached
In version order, the 36 measured versions of io.agora.rtc:voice-sdk run as 3 stretches: io.agora.rtc:voice-sdk:3.4.0 to 4.4.1 offending (4 KB-aligned) (26 measured); then io.agora.rtc:voice-sdk:4.5.0 to 4.6.4 without an arm64-v8a/x86_64 .so (8 measured); then io.agora.rtc:voice-sdk:12-15-ci-test to 12-15-ci-test-2 offending (4 KB-aligned) (2 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
Measured files by the year of their repository date:
- 2021: 9 offending (4 KB-aligned)
- 2022: 14 offending (4 KB-aligned)
- 2023: 2 offending (4 KB-aligned)
- 2024: 3 offending (4 KB-aligned), 1 without an arm64-v8a/x86_64 .so
- 2025: 4 without an arm64-v8a/x86_64 .so
- 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
36 of 72 published versions of io.agora.rtc:voice-sdk were downloaded and read: 28 offending, 0 aligned, 8 with no arm64-v8a/x86_64 .so. Measured files date from 2021-08-04 to 2026-09-01. Newest first. Each version links to the file measured.
- POM META-PACKAGE: voice-sdk 4.6.4 contains no 64-bit .so in the wrapper artifact but declares six native dependencies. Exact 4.6.4 dependency artifacts measured: ains:4.6.4 aligned; audio-beauty:4.6.4 aligned; spatial-audio:4.6.4 aligned; aiaec:4.6.4 aligned; full-voice-drive:4.6.4 aligned; voice-rtc-basic:4.6.4 aligned. This is not proof that another resolved version is aligned; measure the final runtime dependency graph
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libagora-fdkaac.so- file date
- Wed, 07 Aug 2024 10:50:58 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 12-15-ci-test-2; the last offending one is 4.4.1. It ships 21 native libraries per ABI: libagora-fdkaac.so, libagora-ffmpeg.so, libagora-rtc-sdk.so, libagora-soundtouch.so, libagora_ai_echo_cancellation_extension.so, libagora_ai_echo_cancellation_ll_extension.so, libagora_ai_noise_suppression_extension.so, libagora_ai_noise_suppression_ll_extension.so and 13 more. 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-core.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to12-15-ci-test(21 versions)libagora-fdkaac.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to12-15-ci-test-2(21 versions)libagora-ffmpeg.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.2.2to12-15-ci-test-2(5 versions)libagora-mpg123.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to3.5.3(13 versions)libagora-rtc-sdk.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to12-15-ci-test-2(28 versions)libagora-soundtouch.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to12-15-ci-test-2(28 versions)libagora_ai_denoise_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:3.4.0to12-15-ci-test(20 versions)libagora_ai_echo_cancellation_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.1.0to12-15-ci-test-2(7 versions)libagora_ai_echo_cancellation_ll_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.4.0to4.4.1(2 versions)libagora_ai_noise_suppression_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.0.0-rc.1to12-15-ci-test-2(8 versions)libagora_ai_noise_suppression_ll_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.4.0to4.4.1(2 versions)libagora_audio_beauty_extension.so: 4 KB (offending) inio.agora.rtc:voice-sdk:4.0.0-rc.1to12-15-ci-test-2(8 versions)
17 more library files not listed.
| Library file | ABI | p_align @ 4.4.1 | p_align @ 12-15-ci-test-2 |
|---|---|---|---|
libagora-fdkaac.so | arm64-v8a | 4 KB | 4 KB |
libagora-fdkaac.so | x86_64 | 4 KB | 4 KB |
libagora-ffmpeg.so | arm64-v8a | 4 KB | 4 KB |
libagora-ffmpeg.so | x86_64 | 4 KB | 4 KB |
libagora-rtc-sdk.so | arm64-v8a | 4 KB | 4 KB |
libagora-rtc-sdk.so | x86_64 | 4 KB | 4 KB |
libagora-soundtouch.so | arm64-v8a | 4 KB | 4 KB |
libagora-soundtouch.so | x86_64 | 4 KB | 4 KB |
libagora_ai_echo_cancellation_extension.so | arm64-v8a | 4 KB | 4 KB |
libagora_ai_echo_cancellation_extension.so | x86_64 | 4 KB | 4 KB |
libagora_ai_echo_cancellation_ll_extension.so | arm64-v8a | 4 KB | – |
libagora_ai_echo_cancellation_ll_extension.so | x86_64 | 4 KB | – |
libagora_ai_noise_suppression_extension.so | arm64-v8a | 4 KB | 4 KB |
libagora_ai_noise_suppression_extension.so | x86_64 | 4 KB | 4 KB |
libagora_ai_noise_suppression_ll_extension.so | arm64-v8a | 4 KB | – |
libagora_ai_noise_suppression_ll_extension.so | x86_64 | 4 KB | – |
libagora_audio_beauty_extension.so | arm64-v8a | 4 KB | 4 KB |
libagora_audio_beauty_extension.so | x86_64 | 4 KB | 4 KB |
libagora_clear_vision_extension.so | arm64-v8a | – | 4 KB |
libagora_clear_vision_extension.so | x86_64 | – | 4 KB |
libagora_content_inspect_extension.so | arm64-v8a | – | 4 KB |
libagora_content_inspect_extension.so | x86_64 | – | 4 KB |
libagora_dav1d.so | arm64-v8a | – | 64 KB |
libagora_dav1d.so | x86_64 | – | 4 KB |
18 more rows not shown.
The Gradle change
implementation("io.agora.rtc:voice-sdk:4.4.1")implementation("io.agora.rtc:voice-sdk:4.6.4")native code removed: 4.5.0 and later (measured latest 4.6.4) contain no arm64-v8a/x86_64 .so; upgrade, then check whether the natives moved to a separate artifact and measure that one // POM META-PACKAGE: voice-sdk 4.6.4 contains no 64-bit .so in the wrapper artifact but declares six native dependencies. Exact 4.6.4 dependency artifacts measured: ains:4.6.4 aligned; audio-beauty:4.6.4 aligned; spatial-audio:4.6.4 aligned; aiaec:4.6.4 aligned; full-voice-drive:4.6.4 aligned; voice-rtc-basic:4.6.4 aligned. This is not proof that another resolved version is aligned; measure the final runtime dependency graph
Method and sources
Measured from the published files in repo1.maven.org/maven2/io/agora/rtc/voice-sdk/. 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 (36 of 72; their status is unknown): 4.5.2, 4.3.2.8.test5, 4.3.2, 4.3.0, 4.2.6, 4.2.3, 4.2.1, 4.2.0, 4.1.1.28.BASIC, 4.1.0-1, 4.0.1.4-ci-test, 4.0.1, 4.0.0.4, 4.0.0.3, 3.7.2.1, 3.7.1, 3.7.0.3, 3.7.0.2, 3.6.3, 3.6.2.2, 3.6.2, 3.6.1.2, 3.6.1.1, 3.6.1, 3.6.0.2, 3.6.0.1, 3.5.2.3, 3.5.2.1, 3.5.2, 3.5.1.2, 3.5.1, 3.5.0.3, 3.5.0, 3.4.11.3, 3.4.11, 3.4.8.
Related artifacts
- Agora special fullio.agora.rtc:agora-special-full36 of 61 measured versions offending · fixed
- Agora full-rtc-basicio.agora.rtc:full-rtc-basic23 of 34 measured versions offending · fixed
- Agora RTC full-sdkio.agora.rtc:full-sdk27 of 28 measured versions offending · fixed
- Agora RTM sdkio.agora.rtm:rtm-sdk20 of 23 measured versions offending · fixed
- Agora RTMio.agora:agora-rtm12 of 17 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.