Gradle Error: Failed to open zip file.
2017-06-18 12:42
381 查看
Gradle Error: Failed to open zip file.
错误信息:
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
解决方案:
gradle-wrapper.properties里修改了gradle的版本,与之前没有报错的gradle版本一致。就可以
改为
错误信息:
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
解决方案:
gradle-wrapper.properties里修改了gradle的版本,与之前没有报错的gradle版本一致。就可以
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
改为
distributionUrl=http\://services.gradle.org/distributions/gradle-3.3-all.zip
相关文章推荐
- 【异常】【Android Studio】Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 解决android studio Error:Failed to open zip file. Gradle's dependency
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- android sutdio版本和gradle版本的对应关系及as报错的处理Error:Failed to open zip file. Gradle's dependency cache ...
- Gradle Error: Failed to open zip file.
- Error:Failed to open zip file.Gradle's dependency cache may be corrupt 【Mac系统 AS】
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- Android studio2.3.1 更新以后Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Android Studio 导入工程出现Gradle Error: Failed to open zip file
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- 解决错误Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- studio编译错误Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 【Android studio】Error:Failed to open zip file. Gradle’s dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 解决android studio 编译新项目出现的Error:Failed to open zip file. Gradle's dependency cache may be corrupt 的错误