如何解决“错误:无法下载 gradle-core.jar (com.android.tools.build:gradle-core:2.2.3): 离线模式没有可用的缓存版本”

thi*_*ous 5 android android-studio

错误:无法下载 gradle-core.jar (com.android.tools.build:gradle-core:2.2.3):没有可用于离线模式的缓存版本

我正在使用 Android Studio 2.3。新更新后出现此错误。

Luí*_*ves 0

我也发生过。这就是我所做的:

1 -Go to Settings -> Build, Execution, Deployment option -> Instant Run

2 - 取消选中Enable instant run to hot swap code

3 - 清洁项目

4 -Enable instant run to hot swap code再次检查并构建。

为我工作,希望它能解决每个面临同样问题的人。