解决android studio Error:Failed to open zip file. Gradle's dependency
2017-03-02 22:58
603 查看
在导入Github里边的项目时,发现了这种问题,便在网上查看了原因,当然,答案有很多。
有一个博客的建议是:
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
有一个博客的建议是:
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
但是,我的版本启来就已经是改动过之后的,我思考之后,打开之前可以用的项目,查看它的这个文件设置,把它的这一项属性改过来之后,然后再编辑区点击Try again.项目便开始构建,实践证明成功。
相关文章推荐
- 关于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 异常
- Android Studio出现Failed to open zip file. Gradle's dependency cache may be corrupt问题的解决
- Android studio2.3.1 更新以后Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- [Android]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 的错误
- Mac上打开android项目出现的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 sutdio版本和gradle版本的对应关系及as报错的处理Error:Failed to open zip file. Gradle's dependency cache ...
- 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
- Android Studio出现Failed to open zip file问题的解决方法
- 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 (this sometimes occurs afte
- 【Android studio】Error:Failed to open zip file. Gradle’s dependency cache may be corrupt
- Android Studio出现Failed to open zip file问题的解决方法
- As导入新项目 Error:Failed to open zip file. Gradle's dependency cache may be corrupt ...