android studio升级2.3时报Re-download dependencies and sync project (requires network)
2017-06-14 14:04
746 查看
1 、原文链接 :https://stackoverflow.com/questions/42652980/errorfailed-to-open-zip-file-gradles-dependency-cache-may-be-corrupt/43582569
问题描述:
Hello everyone I have been updated android studio 2.3 and there is a bug , gradle never build it keep give me the same error for all projects
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
syncProject">Re-download dependencies and sync project (requires network)
syncProject">Re-download dependencies and sync project (requires network)
and this answer solve my problem
I've faced the same issue this morning after upgrading Android Studio to 2.3.To solve the issue:
1) Manually download Gradle 3.3 binary (direct link: https://services.gradle.org/distributions/gradle-3.3-bin.zip href="https://services.gradle.org/distributions/gradle-3.3-bin.zip" target=_blank>)
2) Open your android studio root directory, and extract the zip to the gradle folder (for example in my Debian machine the full path is /opt/android-studio/gradle/gradle-3.3)
3) Open Android Studio, go to File->Settings->Build, Exectution, Deployment->Gradle and set "Gradle home" to point your new gradle-3.3 folder.
4) Sync and you are ready to go!
I hope that helps ;)
问题描述:
Hello everyone I have been updated android studio 2.3 and there is a bug , gradle never build it keep give me the same error for all projects
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
syncProject">Re-download dependencies and sync project (requires network)
syncProject">Re-download dependencies and sync project (requires network)
and this answer solve my problem
I've faced the same issue this morning after upgrading Android Studio to 2.3.To solve the issue:
1) Manually download Gradle 3.3 binary (direct link: https://services.gradle.org/distributions/gradle-3.3-bin.zip href="https://services.gradle.org/distributions/gradle-3.3-bin.zip" target=_blank>)
2) Open your android studio root directory, and extract the zip to the gradle folder (for example in my Debian machine the full path is /opt/android-studio/gradle/gradle-3.3)
3) Open Android Studio, go to File->Settings->Build, Exectution, Deployment->Gradle and set "Gradle home" to point your new gradle-3.3 folder.
4) Sync and you are ready to go!
I hope that helps ;)
相关文章推荐
- Android Studio报错-->Re-download dependencies and sync project (requires network)
- android studio 导入项目问题 Re-download dependencies and sync project
- Android Studio更新之后Re-download dependencies and sync project (requires network)问题
- Android studio导入项目时的问题(Re-download dependencies and sync project (requires network))
- Android studio导入项目时的问题(Re-download dependencies and sync project (requires network))
- Android studio更新版本后项目出现(re-download dependencies and sync project(requires network))
- 【Studio】Android Studio导入项目时的遇到问题(Re-download dependencies and sync project (requires network))
- Android studio导入项目时的问题(Re-download dependencies and sync project (requires network))
- Android studio导入项目时的问题(Re-download dependencies and sync project (requires network))
- Re-download dependencies and sync project (requires network)
- AS升级2.3 错误:Re-download dependencies and sync projec
- Re-download dependencies and sync project (requires network)&SSL peer shut down incorrectly
- 解决Re-download dependencies and sync project
- Re-download dependencies and sync project (requires network)
- Error:Failed to open zip file.<a href="syncProject">Re-download dependencies and sync project (requi
- re-download dependencies and sync
- Android studio在真机环境下调试时遇见Install Repository and sync project的问题
- 关于android studio错误:gradle project sync failed.please fix your project and try again的解决方案
- Gradle3.3 Re_download deppendencies and sync project(requires network)
- redownload dependencies and sync project 解决方法