Gradle Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes oc...

更新gradle Androidstudio报错:
Error:Failed to open zip file.

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

Re-download dependencies and sync project (requires network)

Re-download dependencies and sync project (requires network)

解决:
进入gradle目录/wrapper/dists/,删除对应的gradle包,重新编译,解决问题。

你可能感兴趣的:(Gradle Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes oc...)