Android Studio 中的两个 Gradle 是什么意思?

What's the two Gradle's mean in Android Studio?

gradle-wrapper.properties(distributionUrl gradle-2.4-all.zip) 和 build.gradle(classpath 'com.android.tools.build:gradle:1.3.0') 中的两个版本?他们是两个不同的版本!

gradle-wrapper.properties 文件中,您设置 Gradle 的版本。例如2.4版本。

classpath 'com.android.tools.build:gradle:1.3.0'

在您的 gradle 文件中,您为 Gradle 设置了 android 插件的版本。 它们是不同的。您可以找到有关 android 插件 here.

的更多信息