Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) for Version 4.10.1

后端 未结 2 473
感动是毒
感动是毒 2021-01-07 00:56

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

2条回答
  •  滥情空心
    2021-01-07 01:35

    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.

提交回复
热议问题