Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
来源:互联网 发布:case when sql server 编辑:程序博客网 时间:2024/06/05 15:12
AndroidStudio更新版本后总是出现的问题:
Error:Failed to open zip file. Gradle’s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
如下图:
解决办法分两步:
1、
找到项目中gradle文件夹中的gradle-wrapper.properties文件,可以看到distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip(gradle-3.3-all是AS更新到2.3.1版本后用的);
2、
根据上图中的三步,选中Use default gradle wrapper(recommended),Service directory path 选中步骤1中的gradle(本例是:gradle-3.3-all),然后点击OK就行了。
0 0
- 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
- 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
- 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
- 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 afte
- Gradle Error:Failed to open zip file. Gradle's dependency cache may be corrupt.
- Android studio2.3更新以后Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this s
- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
- Gradle's dependency cache may be corrupt(this sometimes occurs after a network connection timeout.)
- 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
- 解决错误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
- 斯坦福机器学习笔记六
- 设备树学习之(六)RTC
- 深拷贝的实现
- Java IO流
- 归并排序之循环归并排序9.4.3
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after
- 将线下sql导入到测试环境
- session监听器中不能使用spring依赖注入
- 01、ES6 变量的扩展
- 学习设备树之(十一)Backlight
- 新建react-native项目并在genymotion模拟器上运行
- 4872: [Shoi2017]分手是祝愿
- POJ 2481 Cows 树状数组
- LeakCanary在检测Android项目的内存泄露