标签:1.0 main 还需要 还需 srcdir support jnilibs cdir 融云sdk
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
gradle方式集成融云sdk dlopen failed: library "libsqlite.so" not found
标签:1.0 main 还需要 还需 srcdir support jnilibs cdir 融云sdk
原文地址:https://www.cnblogs.com/Jieth/p/10297846.html