本文主要是介绍解决Re-download dependencies and sync project,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
解决Re-download dependencies and sync project
问题描述
新建一个工程,报错
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下不动,如下图
解决方案
找到./gradle/gradle-warpper.properties文件
这篇关于解决Re-download dependencies and sync project的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!