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 Central
-
Open the
settings.gradlefile in the project's root directory and add the Maven Central dependency, if it doesn't already exist:repositories { mavenCentral() } -
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.0. 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.
