- Get link
- X
- Other Apps
I updated android studio 3.0.1 to 3.1 today morning but after the update my gradle ask to update to 4.4 then i press update gradle and there is a bug, gradle doesn't build and it keeps giving me the same error for all projects.
After I've faced this issue i search on google for solution but got some idea to solve the issue:
1) Manually download Gradle 4.4 binary (direct link: https://services.gradle.org/distributions/gradle-4.4-bin.zip)
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 C:\Program Files\Android\Android Studio\gradle\gradle-4.4)
3) Open Android Studio, go to File->Settings->Build, Exectution, Deployment->Gradle and set "Gradle home" to point your new gradle-4.4 folder.
4) Sync and you are ready to go!
I hope that helps you cause it works for me.
Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
Re-download dependencies and sync project (requires network)
After I've faced this issue i search on google for solution but got some idea to solve the issue:
1) Manually download Gradle 4.4 binary (direct link: https://services.gradle.org/distributions/gradle-4.4-bin.zip)
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 C:\Program Files\Android\Android Studio\gradle\gradle-4.4)
3) Open Android Studio, go to File->Settings->Build, Exectution, Deployment->Gradle and set "Gradle home" to point your new gradle-4.4 folder.
4) Sync and you are ready to go!
I hope that helps you cause it works for me.