如果遇到了如下错误 :
Error:Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
<a href="syncProject">Re-download dependencies and sync project (requires network)</a>
那么去gradle->wrapper->gradle-wrapper.properties里找到
distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-all.zip然后把https改为http,也就是
distributionUrl=http\://services.gradle.org/distributions/gradle-3.2.1-all.zip
这样,然后再try again就好了