All com.android.support librarie
2018-04-12 本文已影响62人
None_Ling
背景
最近项目引进Glide 4.7.1时,编译的时候报错

报错信息如下:

看info是因为一些lib中使用了examples等,而那些example中使用了27.0.2版本的support library,和我们本身使用的support 26.0.1会有冲突。
解决方案
- 使用低版本的包
- 将编译版本提高到对应的版本
- 将26.0.1升高到27.1.0
- 同时把targetSdkVersion和CompileSdkVersion提升到27