1.gradle
implementation ‘cn.rongcloud.android:IMLib:2.8.6‘ implementation ‘cn.rongcloud.android:IMKit:2.8.6‘ implementation ‘cn.rongcloud.android:CallLib:2.8.6‘ implementation ‘cn.rongcloud.android:CallKit:2.8.6‘
还需要,开启
multiDexEnabled true
api ‘com.android.support:multidex:1.0.1‘ api ‘com.huawei.android.hms:push:2.6.1.301‘
2.编译报错dlopen failed: library "libsqlite.so" not found
去demo里拷一份(libs或者jniLibs)
//libs gradle android { sourceSets { main { jni.srcDirs = [] jniLibs.srcDirs = [‘libs‘] } } }
3.添加其他配置
https://www.rongcloud.cn/docs/android.html#integration_config
原文地址:https://www.cnblogs.com/Jieth/p/10297846.html
时间: 2024-11-08 17:17:41