Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
I got this issue after updating the android plugin.
Please help.
I tried to change the gradle version to 4.6(distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip) and its working too, but I want to use the recommended gradle-4.10.1 (distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip) version.