【问题标题】:More than one file was found with OS independent path 'com/mysql/cj/configurations/3-0-Compat.properties'找到多个文件,其独立于操作系统的路径 'com/mysql/cj/configurations/3-0-Compat.properties'
【发布时间】:2019-04-11 14:57:33
【问题描述】:

谁能帮我解决这个错误:

发现多个文件具有独立于操作系统的路径 'com/mysql/cj/configurations/3-0-Compat.properties'

我在 android studio 中收到此错误。

谢谢!

【问题讨论】:

  • 欢迎来到 StackOverflow!请澄清您的具体问题添加其他详细信息以准确突出您的需要。正如目前所写的那样,很难准确地说出你在问什么。请参阅How to Ask 页面以获得澄清此问题的帮助。
  • 重新格式化问题

标签: java android mysql


【解决方案1】:
packagingOptions {       
        exclude 'com/mysql/cj/configurations/3-0-Compat.properties'
        exclude 'com/mysql/cj/configurations/solarisMaxPerformance.properties'
        exclude 'com/mysql/cj/configurations/clusterBase.properties'
        exclude 'com/mysql/cj/configurations/coldFusion.properties'
        exclude 'com/mysql/cj/LocalizedErrorMessages.properties'
        exclude 'com/mysql/cj/configurations/maxPerformance.properties'
    }

【讨论】:

    猜你喜欢
    • 2019-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多