Could not download “XXXX” : No cached version available for offline mode

有些库及下载不了又没有离线缓存

 

步骤1:找到File - Other settings - Default settings

Build Tools - Gradle

去掉"offline work"选项勾

点击 "Ok"

 去到 "Build" - "clean Project"

这个是别人处理:

Error:Could not download junit.jar (junit:junit:4.12): No cached version availab

不过我没什么好方法,尝试试了下,也好了。

posted @ 2018-08-16 11:59  君子求诸己  阅读(2760)  评论(0编辑  收藏  举报