Android Studio 导入项目的时候出现的问题,有时候,还真的是莫名其妙。
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>
解决办法:
File-> Setting->Build,Execution,Deployment->Gradle-> Project-level setting,选择Use local gradle distribution ,Ok一下,最后rebuild 项目。