Gradle\'s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
I got this issue after updating the android plugin.
Ple
Well I resolved the issue.
Remove the ~/.gradle/wrapper/dists/gradle-4.10.1-all folder and then rebuild the project in android studio.
rm -rf ~/.gradle/wrapper/dists/gradle-4.10.1-all
This removes the corrupted or partially downloaded gradle-4.10.1-all.
This is working for me.
in this image we will show Gradle wrapper class its show about our current project Gradle version ;
C:\Users*username*.gradle\wrapper\dists
delete the dists folder
download ant GitHub project and run it - in this case, the android studio will download necessary files. - and Gradle files too it about 135MB size. after successfully download run the GitHub project and after this run your local project. yeah, the android studio will run normally.........