嗨,我想让我的gradle与android 4或更高版本兼容。请帮助我设置兼容的gradle库版本,感谢您的阅读。
apply plugin: 'com.android.application
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.a000webhostapp.mathhelperapp.www.mathhelperprj"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
testImplementation 'junit:junit:4.12'
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
implementation 'com.koushikdutta.async:androidasync:2.2.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'co.ronash.android:pushe-base:1.4.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}