.EvalIssueException: Failed to parse XML in E:\daima_new\baoxian\dadi\app\src\main\AndroidManifest;
在进行build release apk的时候出现;
我们应该将AndroidManifest中有关MinSdk,buildsdk相关配置放到build中;
Error:java.util.zip.ZipException: duplicate entry: com/google/firebase/iid/zzc.class Error:java.lang.RuntimeException: com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/firebase/iid/zzc.class
Error:com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/firebase/iid/zzc.class
看到这个错误,我们应该提取到关键词com/google/firebase/,这就是关键词原因是由于你的导入的依赖,或者导入的以来的版本不对。
以前是:
compile 'com.google.firebase:firebase-core:10.0.4' compile 'com.google.firebase:firebase-messaging:10.0.4'
现
compile 'com.google.firebase:firebase-core:11.0.4' compile 'com.google.firebase:firebase-messaging:11.0.4'