Android开发中使用Glide添加依赖库build.gradle出现问题

99封情书 提交于 2019-12-04 19:55:26
添加implementation 'com.github.bumptech.glide:glide:4.9.0'后一直报错

 

 

修改方式:
implementation ("com.github.bumptech.glide:glide:4.9.0") {    exclude group: "com.android.support"}原因:因为glide 内部也引入了com.android.support:appcompat-v7。版本对应为COMPILE_SDK_VERSION=27TARGET_SDK_VERSION=27 ANDROID_SUPPORT_VERSION=27.1.0 参考http://bumptech.github.io/glide/doc/download-setup.html#android-sdk-requirementshttps://segmentfault.com/q/1010000013361461?utm_source=tag-newest
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!