Gradle 'xxx' project refresh fai

2017-11-06  本文已影响0人  风_b6c8

android studio新建项目,报错:Gradle 'xxx' project refresh failed

Failed to open zip file.

Gradle's dependency cache may be corrupt(this sometimes occurs after a network connection timeout.)

解决方案:

把项目的gradle-wrapper.properties中distributionUrl的https改成http即可。

上一篇 下一篇

猜你喜欢

热点阅读