compileSdkVersion、targetSdkVersion、buildToolsVersion、support配置

compileSdkVersion:26 -> 28

targetSdkVersion:23 -> 28

buildToolsVersion:"25.0.2" -> "28.0.3"

support包:"24.2.1" -> "28.0.0"

 android = [
               compileSdkVersion       : 27,
               buildToolsVersion       : "27.0.3",
               minSdkVersion           : 19,
               targetSdkVersion        : 27,
               versionCode             : 22,
               versionName             : "1.8.2" 
    ]

    version = [
               androidSupportSdkVersion: "27.1.1",
               retrofitSdkVersion      : "2.4.0",
               glideSdkVersion         : "4.8.0",
               canarySdkVersion        : "1.5.4",
               constraintVersion       : "1.0.2",
               okhttp                  : "3.8.1"
    ]

 我在导入项目时遇到了yc.gradle中的 compileSdkVersion和 Model中的compileSdkVersion不一样,切记model要和库的版本一样即可

你可能感兴趣的:(compileSdkVersion、targetSdkVersion、buildToolsVersion、support配置)