The problem is as follows:
Solve:
Modify the version of Gradle in Gradle-wrapper.properties, consistent with the Gradle version without error. You can do it.
For example, when I quote this mistake:
Distributionurl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
After modification:
Distributionurl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
Finally recompile the solution!
Problem Analysis: The problem occurs because the update Gradle version library download is incomplete resulting in the above problem.
Workaround:
1) re-download gradle, browser input https://services.gradle.org/distributions/gradle-4.4-all.zip (download other version only need to change the version number)
2) Enter the directory C:\USERS\JF\.GRADLE\WRAPPER\DISTS\GRADLE-4.4-ALL\9BR9XQ1TOCPIV8O6NJLYU5OP1 and replace it with the downloaded Gradle-4.4-all.zip
3) Open Android Studio, enter in Terminal: GRADLE-V, if not downloaded will automatically download, if already downloaded will automatically unzip
Fix Android Studio appears failed to open zip file. Gradle ' s dependency cache may is corrupt problem