[英]Failed to apply plugin [id 'com.android.application'] Gradle version 2.10 is required. Current version is 2.4
I changed the gradle version from 2.4 to 2.1 but it not worked for me I changed version in ...\\gradle\\wrapper\\gradle-wrapper.properties file original contenet of file is: 我将gradle版本从2.4更改为2.1,但是它对我不起作用我更改了... \\ gradle \\ wrapper \\ gradle-wrapper.properties文件中的版本文件的原始内容为:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
And updated content are: 更新的内容是:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
But issue is not resolved 但是问题没有解决
Set the distributionUrl to; 将distributionUrl设置为;
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
This sets the gradle version to 2.10, which, as the error says, is required... 这会将gradle版本设置为2.10,如错误所示,这是必需的...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.