具体报错日志: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) 


解决方法:打开本地AS安装路径找到gradel文件夹。这是我的D:\all\androidStudio\androidStudio3\install\gradle

AS使用报错:Error:Failed to open zip file.

然后打开as,project下找到gradle-wrapper-下图所示位置。

AS使用报错:Error:Failed to open zip file.

将上图圈出的地方替换本地gradle版本号就好啦!

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-04-24
  • 2021-10-25
猜你喜欢
  • 2021-08-25
  • 2022-01-14
  • 2021-09-26
  • 2022-01-12
  • 2021-09-07
  • 2021-12-15
相关资源
相似解决方案