添加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