Integrating Android SDK - Video SDK
Android SDK is a Java-based native SDK. It is compatible with both Java and Kotlin. It makes it extremely simple to integrate video and audio calls into your app.
Installing Android SDK
Step 1: Add the repositories into your project
You can install our Android SDK by using Maven Central or Jitpack package repositories.
Add the repository to settings.gradle
file in your project.
- Maven Central
- Jitpack
settings.gradle
dependencyResolutionManagement{
repositories {
// ...
google()
mavenCentral()
maven { url "https://maven.aliyun.com/repository/jcenter" }
}
}
settings.gradle
dependencyResolutionManagement{
repositories {
// ...
google()
maven { url 'https://jitpack.io' }
mavenCentral()
maven { url "https://maven.aliyun.com/repository/jcenter" }
}
}
note
You can use imports with Maven Central after rtc-android-sdk version 0.1.12
.
Whether on Maven or Jitpack, the same version numbers always refer to the same SDK.
Step 2: Add the dependency in app/build.gradle
app/build.gradle
dependencies {
implementation 'live.videosdk:rtc-android-sdk:0.1.37'
// other app dependencies
}
important
- Android SDK compatible with armeabi-v7a, arm64-v8a, x86_64 architectures. If you want to run the application in an emulator, choose ABI x86_64 when creating a device.
Got a Question? Ask us on discord