Android SDK

Updated at:

SDK integration flow

Step

Integration content

Location in document

Required

Additional information

Step 1

Import the SDK

See "Import and configure the SDK" -> 1. Import the SDK

Required

Step 2

Configure permissions

See "Import and configure the SDK" -> 2. Configure permissions

Required

Step 3

Configure obfuscation

See "Import and configure the SDK" -> 3. Configure obfuscation

Required

Step 4

Set domain name

See "Basic Integration" -> 1. Set domain name

Required

Step 5

User account statistics

See "Basic Integration" -> 2. User account statistics

Optional

Set a custom user ID. After you set it, the user account is displayed in the product console.

Step 6

Initialization

See "Basic Integration" -> 3. Compliance initialization

Required

Step 7

Log printing

See "Basic Integration" -> 4. Log printing

Required

Step 8

Feature module configuration

See "Performance API" -> 1. Crash Analysis

Required

Data is automatically collected after integration if the feature is enabled. No extra configuration is needed.

See "Performance API" -> 2. Custom Exception API

Required

Report crashes of custom types.

See "Performance API" -> 3. Lag Analysis

Required

This feature is enabled by default after integration. If you do not need lag analysis, disable this feature.

See "Performance API" -> 4. Network Analysis

Required

See "Performance API" -> 5. Startup Analysis

Required

See "Performance API" -> 6. Memory Analysis

Required

See "Performance API" -> 7. Connect app with H5

Required

Instructions for the connection operations required on the app side for H5 page analysis.

See "Performance API" -> 8. Native page

Required

See "Performance API" -> 9. Collection switch

Required

You can disable Crash Analytics, Startup Analysis, and Network Analysis

Memory analysis and in-app H5 page analysis are enabled by default.

See "Performance API" -> 10. Symbol table

Required

To parse the stack for crash issues, you must upload a symbol table. This document describes how to get and upload the symbol table.

See "Performance API" -> 11. Set HTTP Interface API

Optional

See "Performance API" -> 12. Log Retrieval

Optional

Appendix

SDK reporting policy

See "SDK reporting policy"

Document links