标签:tools distrib div sdk text app path ice class
Android Studio 配置文件build
Android Studio 配置文件build说明:
1. 根目录下的配置文件:
dependencies {
classpath ‘com.android.tools.build:gradle:x.x.x‘
//比如: classpath ‘com.android.tools.build:gradle:3.5.2‘
}
2. app目录下的配置文件:
compileSdkVersion 27 --> SDKPlatforms
buildToolsVersion ‘27.0.3‘ --> SDKTools
//比如:
compileSdkVersion 26
buildToolsVersion "28.0.3"
3. \gradle\wrapper\gradle-wrapper.properties配置文件:
distributionUrl=https\://services.gradle.org/distributions/gradle-x.x.x-all.zip 文件需要和 XX文件进行匹配
//比如: distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 和
classpath ‘com.android.tools.build:gradle:3.5.2‘ 进行匹配,否则会提示 Minimum supported Gradle version 的问题
标签:tools distrib div sdk text app path ice class
原文地址:https://www.cnblogs.com/hbtmwangjin/p/12826137.html