【急求】Didn't find class "com.hyphenate.chat.EMHWPushReceiver" on path: DexPathList
使用的是hyphenatechat_3.3.4.jar这个版本的,一直都运行良好
集成了一个友盟推送,然后就出现这个问题了
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDevDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK assets/pushresources/push1.0.js
File1: E:\input\porject\porject\app\build\intermediates\exploded-aar\porject\easeUI_CN\unspecified\jars\classes.jar
File2: E:\input\porject\porject\app\build\intermediates\exploded-aar\porject\push\unspecified\jars\classes.jar
然后把HwPush_SDK_V2705_nomap.jar删除了
结果就:
java.lang.ClassNotFoundException: Didn't find class "com.hyphenate.chat.EMHWPushReceiver" on path: DexPathList[[zip file "/data/app/com.mm.mtyl-1/base.apk"],nativeLibraryDirectories=[/data/app/com.mm.mtyl-1/lib/arm, /data/app/com.mm.mtyl-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
编译安装都没有问题,运行APP就崩溃。昨天搞了一天,呜呜呜!!!
关键是只有我的华为测试机才有这个问题,小米上就没有这个问题
集成了一个友盟推送,然后就出现这个问题了
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDevDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK assets/pushresources/push1.0.js
File1: E:\input\porject\porject\app\build\intermediates\exploded-aar\porject\easeUI_CN\unspecified\jars\classes.jar
File2: E:\input\porject\porject\app\build\intermediates\exploded-aar\porject\push\unspecified\jars\classes.jar
然后把HwPush_SDK_V2705_nomap.jar删除了
结果就:
java.lang.ClassNotFoundException: Didn't find class "com.hyphenate.chat.EMHWPushReceiver" on path: DexPathList[[zip file "/data/app/com.mm.mtyl-1/base.apk"],nativeLibraryDirectories=[/data/app/com.mm.mtyl-1/lib/arm, /data/app/com.mm.mtyl-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
编译安装都没有问题,运行APP就崩溃。昨天搞了一天,呜呜呜!!!
关键是只有我的华为测试机才有这个问题,小米上就没有这个问题
没有找到相关结果
已邀请:
0 个回复