当前位置:   article > 正文

The cached zip file gradle-5.6.4-all.zip may be corrupted. Delete file and sync project

gradle-5.6.4-all.zip

一、报错信息

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.6.4-all.zip'.
The cached zip file C:\Users\01\.gradle\wrapper\dists\gradle-5.6.4-all\ankdp27end7byghfw1q2sw75f\gradle-5.6.4-all.zip may be corrupted.

Delete file and sync project
  • 1
  • 2
  • 3
  • 4

在这里插入图片描述

二、解决方法

点击蓝色的【Delete file and sync project】,然后点击【Yes】

在这里插入图片描述
如果出现Connect timed out,就手动下载gradle,然后设置指定路径:
在这里插入图片描述
下方的Use Gradle from,指定到你所需gradle的最后一级目录,也就是bin目录的上一级。
在这里插入图片描述

只要有愚公移山的志气,水滴石穿的毅力,脚踏实地,埋头苦干,积跬步至千里,就一定能把宏伟目标变为美好现实。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/700444
推荐阅读
相关标签
  

闽ICP备14008679号