在报该编译错误的module的build.gradle中加入如下配置项,排除掉中间生成的META-INF/xxx文件

packagingOptions {
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/NOTICE.txt'
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2021-10-27
  • 2021-11-17
  • 2021-04-20
  • 2021-07-19
猜你喜欢
  • 2021-07-26
  • 2021-12-30
  • 2022-12-23
  • 2021-05-01
相关资源
相似解决方案