Gradle 即使版本相同,所有com.android.support库也必须使用完全相同的版本规范
这都是我的毕业代码Gradle 即使版本相同,所有com.android.support库也必须使用完全相同的版本规范,gradle,android-gradle-plugin,android-appcompat,Gradle,Android Gradle Plugin,Android Appcompat,这都是我的毕业代码 apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion '28.0.1' defaultConfig { applicationId "com.example.remindme" minSdkVersion 19 targetSdkVersion 28 version
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.1'
defaultConfig {
applicationId "com.example.remindme"
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:28.+'
compile 'com.android.support:recyclerview-v7:28.+'
compile 'com.getbase:floatingactionbutton:1.9.0'
compile 'com.wdullaer:materialdatetimepicker:1.2.1'
compile 'com.bignerdranch.android:recyclerview-multiselect:+'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
}
但在这条线上,它仍然给了我错误
compile 'com.android.support:appcompat-v7:28.+'
我不知道现在出了什么问题,有什么建议如何解决这个问题吗?你现在使用的是28的SDK版本,请从28构建你的SDK版本 步骤:
“查找更新”
李>