Error: Failed to open zip file. Solution: errorfailed
Error: Failed to open zip file. Gradle's dependency cache may be uploaded upt (this sometimes occurs after a network connection timeout .)
Solution:
Step 1: in Show log in Finder of AndroidStudio, view the log and search for the "https://services.gradle.org/distributions field in the document to locate the following statement:
Cocould not install Gradle distribution from 'https: // services.gradle.org/distributions/gradle-2.14.1-all.zip '.
The above versions may be different, and 2.14.1 may be another version.
Step 2: Download the corresponding gradle version.
For example, if my gradlecorresponds to 2.14.1, download gradle-2.14-all.zip.
Step 3: copy the downloaded zip file to the following directory.
/Users/your username/. gradle/wrapper/dists/gradle-2.14.1-all/55gk2rcmfc6p2dg9u9ohc3hw9 (here is a random garbled string )/
Step 4: restart AndroidStudio