Skip to main content

Manual install

To manually install Signaling SDK, do one of the following:

Automatically integrate the SDK with JitPack

  1. Add the address of Jitpack in the build.gradle file under the root directory of your project.


    _6
    allprojects {
    _6
    repositories {
    _6
    ...
    _6
    maven { url 'https://www.jitpack.io' }
    _6
    }
    _6
    }

  2. Add the com.github.agorabuilder:rtm-sdk dependency in the /app/build.gradle file under your project (for X.Y.Z, please fill in the current SDK version number). You can visit JitPack.io to see the latest version number.


    _4
    dependencies: {
    _4
    ...
    _4
    implementation 'com.github.agorabuilder:rtm-sdk:X.Y.Z'
    _4
    }

Manually copy the SDK files

To manually install Signaling SDK from a download:

  1. Extract the files in Signaling SDK to a local directory, <unzipped_package>.

  2. Copy the following file or subfolder from the libs folder of the downloaded SDK to the corresponding directory of your project.:

    File or folderPath in your project
    Files
    agora-rtm_sdk.jar/app/libs/
    /arm64-v8a/libagora-rtm-sdk-jni.so`~/app/src/main/jniLibs/arm64-v8a/
    /armeabi-v7a/libagora-rtm-sdk-jni.so`~/app/src/main/jniLibs/armeabi-v7a/
    /x86/libagora-rtm-jni.so`~/app/src/main/jniLibs/x86/
    /x86_64/libagora-rtm-sdk-jni.so`~/app/src/main/jniLibs/x86_64/