Gradle Error: Failed to open zip file.
2017-03-10 13:28
369 查看
直接在网上找到gradle-3.3-all.zip下载下来,不要解压缩,放在类似下面的目录中
C:\Users\Administrator\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9
另一个问题:
Error:(22, 0) Could not find method android() for arguments [build_7fz9e3oafl20kqtde627lwz7b$_run_closure3@7a08b635] on root project 'MyG4' of type org.gradle.api.Project.
解决方法,在主工程就是根目录下的gradle文件中去掉android{}模块
C:\Users\Administrator\.gradle\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9
另一个问题:
Error:(22, 0) Could not find method android() for arguments [build_7fz9e3oafl20kqtde627lwz7b$_run_closure3@7a08b635] on root project 'MyG4' of type org.gradle.api.Project.
解决方法,在主工程就是根目录下的gradle文件中去掉android{}模块
相关文章推荐
- 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 ...
- 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
- 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
- 关于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