【发布时间】:2018-12-25 18:21:59
【问题描述】:
在(根)build.gradle Gradle 版本是 3.1.3。
(根)build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
在项目结构中,Gradle 版本是 4.4
项目结构
Gradle version 4.4
在 Gradle-wrapper-properties distributionUrl 中,Gradle 版本是 4.4
Gradle-Wrapper-Properties
#Tue Jul 17 17:49:20 KST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
但我可以构建并且可以在智能手机中运行应用程序。
什么是真正的 Gradle 版本?
【问题讨论】:
标签: android android-studio android-gradle-plugin