gradle方式集成融云sdk dlopen failed: library "libsqlite.so" not found

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'

2.编译报错dlopen failed: library "libsqlite.so" not found

 gradle方式集成融云sdk dlopen failed: library

 

去demo里拷一份(libs或者jniLibs)

//libs
gradle
android {
sourceSets {
        main {
            jni.srcDirs = []
            jniLibs.srcDirs = ['libs']
        }
    }
}

 3.添加其他配置

https://www.rongcloud.cn/docs/android.html#integration_config

4.官方文档moudle方式

部分。

gradle方式集成融云sdk dlopen failed: library

 

a.联系人相关

 直接使用demo里的contactcard

gradle方式集成融云sdk dlopen failed: library

 

转载于:https://www.cnblogs.com/Jieth/p/10297846.html

你可能感兴趣的:(gradle方式集成融云sdk dlopen failed: library "libsqlite.so" not found)