解決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

相關文章
相關標籤/搜索