我已升級到Windows 10和最新版本的studio(1.4) 。我試圖導入一個我一直在工作的項目(之前它工作正常)。升級到1.4後出現Android工作室gradle錯誤 - 錯誤:原因:https://downloads.gradle.org/distributions/gradle-2.2.1_all.zip
我遇到一個嚴重錯誤:
"Gradle 'Reiki' project refresh failed: Error: Cause: https://downloads.gradle.org/distributions/gradle-2.2.1_all.zip "
有誰知道如何解決這一問題?我花了幾個小時看着其他工作室gradle問題和答案,並且找不到這個特殊問題:
錯誤代碼如下:
2015-10-03 20:27:34,111 [ 36960] WARN - radle.project.ProjectSetUpTask -
2015-10-03 20:27:34,112 [ 36961] INFO - radle.project.ProjectSetUpTask - >Cause: https://downloads.gradle.org/distributions/gradle-2.2.1_all.zipConsult IDE log for more details (Help | Show Log) 2015-10-03 20:27:34,112 [ 36961] INFO - ls.idea.gradle.GradleSyncState - >Sync with Gradle for project 'Reiki' failed: Cause: >https://downloads.gradle.org/distributions/gradle-2.2.1_all.zip
Consult IDE log for more details (Help | Show Log) 2015-10-03 20:27:34,300 [ 37149] INFO - #com.jetbrains.cidr.lang - >Clearing symbols finished in 0 s. 2015-10-03 20:27:34,300 [ 37149] INFO - #com.jetbrains.cidr.lang - >Loading symbols finished in 0 s. 2015-10-03 20:27:34,300 [ 37149] INFO - #com.jetbrains.cidr.lang - >Building symbols finished in 0 s. 2015-10-03 20:27:34,300 [ 37149] INFO - #com.jetbrains.cidr.lang - >Saving symbols finished in 0 s.
目前gradle-wrapper.properties文件有以下: distributionBase = GRADLE_USER_HOME distributionPath =包裝/ dists中 zipStoreBase = GRADLE_USER_HOME zipStorePath =包裝/ dists中 distributionUrl = https \://services.gradle.org/distributions/gradle-2.2.1_all.zip –