AndroidStudio进行升级后,新建项目发现报错。以下错误表示,Gradle 压缩包损坏。
目前我电脑可以正常翻墙,但是通过Try Again等操作,故障依旧。并没有到网络下载,相应的Gradle文件。
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
Re-download dependencies and sync project (requires network)
解决:
1、打开电脑路径:C:\Users\Administrator.gradle\wrapper\dists\
发现此文件体积明显小,直接删除此文件。
2、再次Try Again 时检查没有 Gradle 对应文件,便可进行正常下载。故障解决!