compileSdkVersion,buildToolsVersion还有targetSdkVersion要一致,从而避免build的时候报错

Android Studio里的app的build.gradle文件:

 android {
compileSdkVersion 24
buildToolsVersion "24.0.0"

defaultConfig {
applicationId "com.wingsofts.rxretrofitmvpdagger2databinding"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding {
enabled = true
}
}

compileSdkVersion,buildToolsVersion还有targetSdkVersion要一致,从而避免build的时候报错

上一篇:html5中output元素详解


下一篇:用PHP操作http中Etag、lastModified和Expires标签