注册

升级至3.6.1应用崩溃

手机型号: 红米4X
已进行混淆配置:-keep class com.hyphenate.** {*;} -dontwarn com.hyphenate.**
 
使用的easemob-sdk-3.6.1\libs.av\armeabi-v7a
\easemob-sdk-3.6.1\libs.av\hyphenatechat_3.6.1.jar
armeabi和armeabi-v7a可以互换,所以引用时放到了armeabi文件夹下

crash日志如下
    uncaughtException -- get uncaught exception: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/xiaomi/mipush/sdk/MiPushClient;
2019-09-23 12:32:28.381 8520-8670/? E/Crash: Failed resolution of: Lcom/xiaomi/mipush/sdk/MiPushClient;
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/xiaomi/mipush/sdk/MiPushClient;
        at com.hyphenate.push.platform.mi.a.b(Unknown Source:0)
        at com.hyphenate.push.platform.a.a(Unknown Source:6)
        at com.hyphenate.push.EMPushHelper.a(Unknown Source:145)
        at com.hyphenate.push.EMPushHelper.register(Unknown Source:37)
        at com.hyphenate.chat.EMClient$7.run(Unknown Source:204)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.xiaomi.mipush.sdk.MiPushClient" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/base.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_dependencies_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_resources_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_0_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_1_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_2_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_3_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_4_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_5_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_6_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_7_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_8_apk.apk", zip file "/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/lib/arm, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/base.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_dependencies_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_resources_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_0_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_1_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_2_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_3_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_4_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_5_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_6_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_7_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_8_apk.apk!/lib/armeabi, /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_slice_9_apk.apk!/lib/armeabi, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at com.hyphenate.push.platform.mi.a.b(Unknown Source:0) 
        at com.hyphenate.push.platform.a.a(Unknown Source:6) 
        at com.hyphenate.push.EMPushHelper.a(Unknown Source:145) 
        at com.hyphenate.push.EMPushHelper.register(Unknown Source:37) 
        at com.hyphenate.chat.EMClient$7.run(Unknown Source:204) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:764) 
    Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.huawei.mateline2.mobile-uwJMwTSJ_UIJP5vfJgnwHQ==/split_lib_resources_apk.apk
        at dalvik.system.DexFile.openDexFileNative(Native Method)
2019-09-23 12:32:28.381 8520-8670/? E/Crash:     at dalvik.system.DexFile.openDexFile(DexFile.java:354)
        at dalvik.system.DexFile.(DexFile.java:101)
        at dalvik.system.DexFile.(DexFile.java:75)
        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
        at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
        at dalvik.system.DexPathList.(DexPathList.java:164)
        at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:74)
        at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:65)
        at dalvik.system.PathClassLoader.(PathClassLoader.java:64)
        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:729)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:812)
        at android.app.LoadedApk.getResources(LoadedApk.java:1034)
        at android.app.ContextImpl.createAppContext(ContextImpl.java:2357)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5821)
        at android.app.ActivityThread.access$1200(ActivityThread.java:200)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:201)
        at android.app.ActivityThread.main(ActivityThread.java:6810)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
 
 
环信日志
[2019/09/23 12:32:28:255]: notify state change to connection listener
[2019/09/23 12:32:28:255]: EMConnectionListener onConnected
[2019/09/23 12:32:28:255]: log: level: 2, area: 1, SEND:
{ verison : MSYNC_V1, compress_algorimth : 0, command : UNREAD, encrypt_type : [ 0 ], payload : {  } }

[2019/09/23 12:32:28:418]: log: level: 1, area: 1, NO unread queue, an response for ping?
[2019/09/23 12:32:28:897]: Java_com_hyphenate_chat_adapter_EMAChatManager_nativeGetConversations 
[2019/09/23 12:32:29:257]: Java_com_hyphenate_chat_adapter_EMAChatManager_nativeGetConversations 
[2019/09/23 12:32:29:353]: Java_com_hyphenate_chat_adapter_EMAChatManager_nativeGetConversations 
[2019/09/23 12:32:29:704]: native_1onNetworkChanged: 2
[2019/09/23 12:32:29:705]: onNetworkChanged(): 2
已邀请:

lizg - ……

您好,如您的问题没有解决,可以登录IMconsole后台提交工单
 登录后 点击应用名称-----右下角技术支持----提交工单
登录地址:https://console.easemob.com/user/login

要回复问题请先登录注册