美文网首页
More than one file was found wit

More than one file was found wit

作者: 夏无雪 | 来源:发表于2020-09-25 17:08 被阅读0次

由于项目没有升级到AndroidX,Glide版本升级到最新版会报此错误

implementation 'com.github.bumptech.glide:glide:4.11.0'

解决办法:
1、Glide版本号降级到 4.9.0
2、在 build.gradle (Module app) 的 android { } 目录下添加:

    packagingOptions {
        exclude 'META-INF/androidx.legacy_legacy-support-core-utils.version'
        exclude 'META-INF/androidx.loader_loader.version'
    }

相关文章

网友评论

      本文标题:More than one file was found wit

      本文链接:https://www.haomeiwen.com/subject/libfuktx.html