同时用环信和融云,程序会崩溃


问了融云那边,说让添加libsqlite.so,加了之后就会崩溃。本来之前不加的话,原本的融云连接不上
E/SQLiteConnection: Unable to find class org/sqlite/database/sqlite/SQLiteCustomFunction
A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI GetFieldID called with pending exception java.lang.ClassNotFoundException: Didn't find class "org.sqlite.database.sqlite.SQLiteCustomFunction" on path: DexPathList[[zip file "/data/app/com.cmx.watchclient-1/base.apk"],nativeLibraryDirectories=[/data/app/com.cmx.watchclient-1/lib/arm, /data/app/com.cmx.watchclient-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String) (Runtime.java:-2)
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.String java.lang.Runtime.doLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:435)
A/art: art/runtime/java_vm_ext.cc:410] at void java.lang.Runtime.loadLibrary(java.lang.String, java.lang.ClassLoader) (Runtime.java:370)
A/art: art/runtime/java_vm_ext.cc:410] at void java.lang.System.loadLibrary(java.lang.String) (System.java:1076)
A/art: art/runtime/java_vm_ext.cc:410] at boolean com.hyphenate.chat.EMClient._loadLibrary(java.lang.String, boolean) ((null):-1)
A/art: art/runtime/java_vm_ext.cc:410] at boolean com.hyphenate.chat.EMClient._loadLibrary(java.lang.String) ((null):-1)
A/art: art/runtime/java_vm_ext.cc:410] at void com.hyphenate.chat.EMClient.loadLibrary() ((null):-1)
A/art: art/runtime/java_vm_ext.cc:410] at com.hyphenate.chat.EMClient com.hyphenate.chat.EMClient.getInstance() ((null):-1)
A/art: art/runtime/java_vm_ext.cc:410] at boolean com.hyphenate.easeui.EaseUI.init(android.content.Context, com.hyphenate.chat.EMOptions) (EaseUI.java:115)
A/art: art/runtime/java_vm_ext.cc:410] at void com.cmx.watchclient.app.MyApplication.onCreate() (MyApplication.java:275)
A/art: art/runtime/java_vm_ext.cc:410] at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1014)
A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:4868)
A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.access$1800(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:156)
A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1491)
A/art: art/runtime/java_vm_ext.cc:410] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
A/art: art/runtime/java_vm_ext.cc:410] at void android.os.Looper.loop() (Looper.java:157)
A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5696)
A/art: art/runtime/java_vm_ext.cc:410] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
A/art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:746)
A/art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:636)
A/art: art/runtime/java_vm_ext.cc:410]
A/art: art/runtime/java_vm_ext.cc:410] in call to GetFieldID
A/art: art/runtime/java_vm_ext.cc:410] from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String)
共2个回复

睡不醒的米老鼠

2018-09-29 16:07

请大佬们帮忙看下 急

fat1

2018-09-29 14:28

....  打架了?

睡不醒的米老鼠

2018-09-29 15:01

是呀,本来用的融云,但是他的新版本功耗高,低版本又没法用视频通话,所以换环信做视频通话,但是只要一初始化环信,融云就登录不上
点击此处继续提问与开发者们互动

申请试用

提交后工作人员会尽快与您联系进行功能演示
技术咨询已转移到管理后台,请先登录

即时通讯云使用者请在应用详情页面咨询
客服云使用者请进入管理员模式咨询

×

在线咨询

电话咨询

技术咨询

免费试用