解决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

解决android studio提示Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)_第1张图片
解压目录
     之后在你studio 中 打开设置:File->settings
解决android studio提示Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)_第2张图片
选择解压好的gradle

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

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