解决Re-download dependencies and sync project

问题描述gradle

新建一个工程,报错ui

Error:Failed to open zip file.
  Gradle's dependency cache may be corrupt (this sometimes occurs after a network       connection timeout.)
  <a href="syncProject">Re-download dependencies and sync project (requires network)</a>
  <a href="syncProject">Re-download dependencies and sync project (requires network)</a>

点Re-download下不动,以下图 image.pngthis

解决方案code

找到./gradle/gradle-warpper.properties文件ip

image.png 把https改为http便可ci

相关文章
相关标签/搜索