jpush / JVerification-cordova-plugin

极光认证官方支持的 cordova 插件(Android & iOS)
5 stars 7 forks source link

同时集成个推一键认证和极光一键认证的问题 #4

Open cbuemc opened 5 years ago

cbuemc commented 5 years ago

同时集成会有包冲突的问题,加了冲突处理一样编译不过, Caused by: com.android.builder.multidex.D8MainDexList$MainDexListException: com.android.tools.r8.errors.CompilationError: Program type already present: com.unicom.xiaowo.login.ResultListener at com.android.builder.multidex.D8MainDexList.generate(D8MainDexList.java:87) at com.android.build.gradle.internal.transforms.D8MainDexListTransform.transform(D8MainDexListTransform.kt:114) ... 78 more Caused by: com.android.tools.r8.errors.CompilationError: Program type already present: com.unicom.xiaowo.login.ResultListener at com.android.tools.r8.utils.ProgramClassCollection.resolveClassConflictImpl(ProgramClassCollection.java:64) at com.android.tools.r8.utils.ProgramClassCollection.lambda$create$0(ProgramClassCollection.java:25) at com.android.tools.r8.utils.ProgramClassCollection.create(ProgramClassCollection.java:24) at com.android.tools.r8.graph.LazyLoadedDexApplication$Builder.build(LazyLoadedDexApplication.java:121) at com.android.tools.r8.dex.ApplicationReader.read(ApplicationReader.java:122) at com.android.tools.r8.dex.ApplicationReader.read(ApplicationReader.java:86) at com.android.tools.r8.GenerateMainDexList.run(GenerateMainDexList.java:40) at com.android.tools.r8.GenerateMainDexList.run(GenerateMainDexList.java:110) at com.android.builder.multidex.D8MainDexList.generate(D8MainDexList.java:83) ㄓ魅力♡旋风 2019/7/23 星期二 16:49:22 你们里面有都一个unicom.xiaowo.login的包,下面的类一模一样,是不是跟三大运营商有关?

cbuemc commented 5 years ago