tencent cloud

문서Tencent Cloud Observability Platform

SDK Integration

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-06-25 12:08:41
AI 번역
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.
Download the RUM Pro Android SDK from Central Repository: com/tencent/bugly/bugly-pro. Select a suitable version. The following instructions use the SDK bugly-pro-4.4.7.8.aar as an example.
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')
}



도움말 및 지원

문제 해결에 도움이 되었나요?

피드백