请帮我解决以下问题。
Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> java.io.IOException: Can't write [C:\...\app\build\intermediates\multi-dex\debug\componentClasses.jar] (Can't read [C:\...\app\build\intermediates\transforms\desugar\debug\69.jar] (Duplicate zip entry [69.jar:org/intellij/lang/annotations/Flow.class]))
我只依赖于一些Play服务库,如下所示:
// Play services
compile "com.google.android.gms:play-services-maps:${rootProject.ext.playServicesVersion}"
compile "com.google.android.gms:play-services-places:${rootProject.ext.playServicesVersion}"
//Firebase
compile "com.google.firebase:firebase-messaging:${rootProject.ext.playServicesVersion}"
答案 0 :(得分:1)
我与注释库发生了kotlin冲突。用com.google.support.annotations
替换它对我来说是个窍门。