【发布时间】:2019-02-01 12:15:44
【问题描述】:
我的 gradle 版本在 Project 的 gradle 包装器属性中是 2.2:
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2-
all.zip
build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
我在构建 apk 时遇到错误
项目正在使用不受支持的 Gradle 版本。 请在项目的 Gradle 设置或项目的 Gradle 包装器(如果适用)中指向受支持的 Gradle 版本。
【问题讨论】:
-
感谢提问,非常有帮助
标签: android android-studio gradle apk build.gradle