compileSdkVersion=buildToolsVersion=targetSdkVersion minSdkVersion 而且保證依賴的全部庫版本相同。固然你也能夠哪一個報錯改哪一個。統一以後就行了。java
android {
compileSdkVersion 26
buildToolsVersion '26.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
applicationId "com.bailu.hailaile"
versionCode 52
versionName "2.12.17"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi"
// abiFilters "armeabi","armeabi-v7a"//,"x86"
}
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
}
複製代碼