Error: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)
Error as above.
The easiest way, and the way I use it, is to change the distributionUrl in gradle-wrapper.properties
Will
- distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
change to
- distributionUrl=http\://services.gradle.org/distributions/gradle-3.3-all.zip