我有这个。格雷德

dependencies {
   ...
   ...
   implementation 'com.github.bumptech.glide:glide:3.8.0'

   //getting conflict after adding this library
   implementation 'com.google.android.libraries.places:places:1.0.0'
}

我不知道为什么从google添加place library之后会出现这个错误。当我删除这个没有问题。

最佳答案

解决方案是添加以下内容:

dependencies {
   ...
   ...
   implementation 'com.github.bumptech.glide:glide:3.8.0'

   //exclude glide coming from place api
   implementation ('com.google.android.libraries.places:places:1.0.0'){
        exclude module: 'glide'
    }
}

08-18 19:06
查看更多