Gradle sync failed: Could not run build action using Gradle distribution 'xxxxxx/gradle-2.14.1-all.zip'.複製代碼
https://services.gradle.org/distributions/
找到咱們所要的版本gradle/wrapper/gradle-wrapper.properties
文件distributionUrl
爲複製的連接gradle-xxx-all.zip
例如:bash
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip複製代碼