解决android studio提示Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

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)

解决方案:
在gradle链接中:https://services.gradle.org/distributions/
找到你需要的版本号。
然后下载到你电脑中。并解压到如下目录中
C:\Users\Administrator.gradle\wrapper\dists

解压目录
     之后在你studio 中 打开设置:File->settings
选择解压好的gradle

这样即可正常使用studio 如还有不解,欢迎comment.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容