[转载自红超的吾记之谈的博客]Android Stuido 更新 gradle 问题

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)

解决办法:

Windows 平台:

C:\Users\你的用户名\.gradle

Mac 平台:

/Users/你的用户名/.gradle/

Linux 平台:

~/.gradle

删除掉 .gradle 文件及下面全部文件以便重新下载!

你可能感兴趣的:([转载自红超的吾记之谈的博客]Android Stuido 更新 gradle 问题)