Release Notes
Announcements
app/build.gradle file in three simple steps to integrate the SDK to your project, as shown below:build.gradle of the app and add mavenCentral() dependencies to repositories.repositories {google()jcenter()// Add the `mavenCentral` repository.mavenCentral()}
dependencies.dependencies {// Add the SDK and use the latest version number as recommendedapi 'com.tencent.imsdk:imsdk-plus:Version number'// If you need to add the Quic plugin, please uncomment the next line (Note: the plugin version number must match the Chat SDK version number)// api "com.tencent.imsdk:timquic-plugin:Version number"}
Version number with the actual version number of the SDK. We recommend you use the latest version.Take the version number 5.4.666 as an example:dependencies {api 'com.tencent.imsdk:imsdk-plus:5.4.666'}
defaultConfig, specify the CPU architecture used by the app (armeabi-v7a, arm64-v8a, x86, and x86_64 are supported starting from Chat SDK v4.3.118).defaultConfig {ndk {abiFilters "arm64-v8a"}}
Sync icon. If the connection to JCenter is normal, the SDK will be automatically downloaded and integrated to your project.

defaultConfig of app/build.gradle, specify the CPU architecture used by the app (armeabi-v7a, arm64-v8a, x86, and x86_64 are supported starting from SDK v4.3.118).defaultConfig {ndk {abiFilters "arm64-v8a"}}


defaultConfig of app/build.gradle, specify the CPU architecture used by the app (armeabi-v7a, arm64-v8a, x86, and x86_64 are supported starting from Chat SDK v4.3.118).defaultConfig {ndk {abiFilters "arm64-v8a"}}
<uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /><uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
proguard-rules.pro file, add the Chat SDK classes to the "do not obfuscate" list.-keep class com.tencent.imsdk.** { *; }
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback