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

  1. Open the settings.gradle file in the project's root directory and add the Maven Central dependency, if it doesn't already exist:

    repositories {
        mavenCentral()
    }
  2. Add the io.agora.rtm:rtm-sdk dependency in the /app/build.gradle file under your project. Replace x.y.z with the SDK version number, such as 2.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-lite instead.

Manually copy the SDK files

To manually install the Signaling SDK for Android from a downloaded package:

  1. Extract Signaling SDK to a local directory, such as <unzipped_package>.

  2. Copy the following files or folders from the rtm/sdk folder of the extracted package to your Android project.

    File or folderPath 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.so and libaosl.so. Copy both.