错误:任务':app:transformClassesWithJarMergingForDebug'执行失败。
com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com / google / android / gms / gcm / PendingCallback $ 1.class
这是我的构建(模块:应用程序).gradle& build.gradle(Project:AppName)文件 In this image i don't understand where changes are need to be done build.gradle file having multiple dependencies.
答案 0 :(得分:0)
According to this issue. firebase-jobdispatcher-android comes bundled with gcm and since you have already have it in your dependencies, you get the duplicate entry error.
Sampyng suggests you do the following:
compile ("com.firebase:firebase-jobdispatcher-with-gcm-dep:0.6.0") {
exclude module: "play-services-gcm"
}