implementation 'com.android.support:appcompat-v7:28.0.0’爆红
报错:All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 27.1.0. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:exifinterface:27.1.0 less… (Ctrl+F1)
There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion). Issue id: GradleCompatible
(全部支持库必须使用完全相同的版本规范(混合版本可能导致运行时崩溃)。找到版本28.0.0、27.1.0。例子包括支持:动画矢量-可拉伸:28.0.0和com.android.support:退出接口:27.1.0以下。。。(Ctrl+F1) 有些库或工具和库的组合不兼容,或者可能导致错误。这种不兼容的一个原因是使用的Android支持库版本不是最新版本(特别是低于targetSdkVersion的版本)。问题id:渐进兼容)
解决办法:
添加依赖语句改为
implementation('com.squareup.picasso:picasso:2.71828') {
exclude group: 'com.android.support'
}
参考博客原址:https://blog.csdn.net/zhao2017/article/details/88819342