The Terminal Performance Monitoring Pro (RUM Pro) SDK is powered by the Tencent Bugly team and uses the same SDK package as Bugly Pro. It supports both automatic and manual integration.
Prerequisites
RUM Pro requires Bugly SDK version 4.4.7.8 or later.
Automatic Integration (Recommended)
1. Add the Maven repository address in the project-level build.gradle file.
buildscript {
repositories {
maven { url 'https://repo1.maven.org/maven2/' }
}
}
allprojects {
repositories {
maven { url 'https://repo1.maven.org/maven2/' }
}
}
2. Add dependencies and attribute configurations in the module's build.gradle file.
android {
defaultConfig {
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
}
}
dependencies {
implementation "com.tencent.bugly:bugly-pro:4.4.7.8"
}
Manual Integration (Not Recommended)
If you cannot use automatic integration due to special business requirements, security requirements, version control, or other reasons, you can also manually integrate the SDK by following the steps below.
1. Download the AAR file of the RUM Pro Android SDK.
2. Add dependencies in the Android Studio project.
Copy the AAR file to the libs directory of the module, and add dependencies in the Gradle file of the module.
dependencies {
// Bugly SDK dependencies
implementation 'org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.3.41'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41'
implementation 'com.squareup.leakcanary:shark:2.7'
implementation 'androidx.annotation:annotation:1.2.0'
// Manual integration
implementation files('libs/bugly-pro-4.4.7.8.aar')
}