Gradle Error: Failed to open zip file.
2016-10-27 16:46
211 查看
错误信息:
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版本一致。就可以了
http\://services.gradle.org/distributions/gradle-1.1-all.zip
改为
http\://services.gradle.org/distributions/gradle-2.10-all.zip
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版本一致。就可以了
http\://services.gradle.org/distributions/gradle-1.1-all.zip
改为
http\://services.gradle.org/distributions/gradle-2.10-all.zip
相关文章推荐
- android sutdio版本和gradle版本的对应关系及as报错的处理Error:Failed to open zip file. Gradle's dependency cache ...
- As导入新项目 Error:Failed to open zip file. Gradle's dependency cache may be corrupt ...
- Gradle Error: Failed to open zip file.
- [置顶] Android studio2.3更新以后Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this s
- 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
- 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 【Mac系统 AS】
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- 关于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
- Gradle 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
- 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 导入工程出现Gradle Error: Failed to open zip file
- 【Android 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