This support library should not use a different version (24) than the compileSdkVersion (28)
2018-12-18 14:08
162 查看
报错:This support library should not use a different version (24) than the compileSdkVersion (28) 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: GradleCompatibl
出现原因:在学习《第一行代码》中的RecycleView时,往build.gradle中添加依赖库的时候出现错误,添加内容是
compile'com.android.support:recyclerview-v7:24.2.1'
其实翻译下报错英文猜测是因为我的SDK版本已经到28了,不能用低版本的依赖库,所以改成和我版本相同的就解决了
implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1'
---记录菜鸟学习过程中的点点滴滴
相关文章推荐
- This support library should not use a different version (24) than the compileSdkVersion (23)...
- This support library should not use a different version(x)than the compileSdkVersion(y)
- 关于This support library should not use a different version than the compilesdkversion
- This support library should not use a different version (25) than the compileSdkVersion
- Android添加依赖出现This support library should not use a different version (26) than the compile(25).
- Android Studio 使用教程(十五)之 This support library should not use a different version(x)than the compileS
- This support library should not use a different version
- 【完美解决系列】This support library should not use a different version
- The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1.
- This version of the rendering library is more recent than your version of IntelliJ IDEA.
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- android sdk location should not contain whitespace,as this can cause problem with the NDK tools
- This Android SDK requires Andriod Developer Toolkit version...Location of the Android SDK has not be
- This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in问题
- This version of the rendering library is more recent than your version of ADT plug-in
- This version of the rendering library is more recent than your version of ADT plug-in. Please update