More than one file was found with OS independent path 'META-INF/androidx.localbroadcastmanager_lo...

由于项目没有升级到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 with OS independent path 'META-INF/androidx.localbroadcastmanager_lo...)