Bik*_*ram 3 android google-places android-glide
我在build.gradle中有这个
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'
}
Run Code Online (Sandbox Code Playgroud)
我不知道为什么Cannot resolve com.bumptech.glide.request.animation.GlideAnimation 从Google添加位置库后出现此错误。当我删除此没有问题。
解决方案是添加以下内容:
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'
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
853 次 |
| 最近记录: |