升级后的消息说明:
Failed to refresh Gradle project 'XXX'
The project is using an unsupported version of the Android Gradle plug-in (0.8.3).
Version 0.9.0 introduced incompatible changes in the build language.
Please read the migration guide to learn how to update your project.
Run Code Online (Sandbox Code Playgroud)
升级到Android Studio到版本> = 0.8.0后出现同样的问题
android gradle android-studio build.gradle android-gradle-plugin
我有个问题.
在(根)build.gradle Gradle Version中是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
}
}
Run Code Online (Sandbox Code Playgroud)
在项目结构中,Gradle Version是4.4
项目结构
Gradle version 4.4
Run Code Online (Sandbox Code Playgroud)
在Gradle-wrapper-properties中,Url的Gradle版本是4.4
摇篮 - 包装 - 属性
#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
Run Code Online (Sandbox Code Playgroud)
但我可以构建,我可以在SmartPhone中运行应用程序.
什么是真正的Gradle版本?
请回复.
谢谢.