我尝试迁移到 android-studio 3 canary 5 并收到此错误
Error:Execution failed for task ':data:createFullJarDebug'.
> java.util.zip.ZipException: duplicate entry: META-INF/data_debug.kotlin_module
在项目中,我有 3 个模块app
,我尝试添加data
domain
packagingOptions {
exclude 'META-INF/data_debug.kotlin_module'
}
到app
,data
但错误出现了。
其他
在build.gradle
我添加
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
更改compile
为implementation
并删除retrolambda
这就是我为迁移到新的 Android Studio 所做的一切。请帮我解决这个错误。
更新
金丝雀 7 问题不会消失