Manual install
Updated
Install the Signaling SDK for your platform, using a package manager or a downloaded package.
To manually install the Signaling SDK for Android, do one of the following:
Automatically integrate the SDK with Maven
-
Starting with v2.3.1, the Signaling SDK is distributed through the Agora Maven repository. Open the
settings.gradlefile in the project's root directory and add the repository underdependencyResolutionManagement. Keep your project's existing repositories:dependencyResolutionManagement { repositories { maven { url = 'https://download.agora.io/maven/' } google() mavenCentral() } }If your project doesn't use
dependencyResolutionManagement, add the repository underallprojects.repositoriesin the rootbuild.gradlefile instead. -
Add the
io.agora.rtm:rtm-sdkdependency in the/app/build.gradlefile under your project. Replacex.y.zwith the SDK version number, such as2.3.1. To get the latest version number, see the Release notes.dependencies { implementation 'io.agora.rtm:rtm-sdk:x.y.z' }To resolve integration issues when co-integrating with the RTC SDK, use
io.agora.rtm:rtm-sdk-liteinstead.
Manually copy the SDK files
To manually install the Signaling SDK for Android from a downloaded package:
-
Extract Signaling SDK to a local directory, such as
<unzipped_package>. -
Copy the following files or folders from the
rtm/sdkfolder of the extracted package to your Android project.File or folder Path in your project agora-rtm-sdk.jar/app/libs//arm64-v8a/~/app/src/main/jniLibs/arm64-v8a//armeabi-v7a/~/app/src/main/jniLibs/armeabi-v7a//x86/~/app/src/main/jniLibs/x86//x86_64/~/app/src/main/jniLibs/x86_64/Each architecture folder contains
libagora-rtm-sdk.soandlibaosl.so. Copy both.
