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>
进入gradle-wrapper.properties里修改了gradle的版本
因为当前包的版本落后了
现在是http://services.gradle.org/distributions/gradle-4.10-all.zip
本文介绍了解决Gradle依赖缓存可能损坏的问题,通常这种情况会在网络连接超时后出现。文中提供了一个解决方法:更新gradle-wrapper.properties文件中的Gradle版本到4.10。
1911

被折叠的 条评论
为什么被折叠?



