注册

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


问了融云那边,说让添加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)
已邀请:

fat1 - imgeek运营总管

赞同来自: beyond

....  打架了?
请大佬们帮忙看下 急

要回复问题请先登录注册