android studio 3.6 No cached version of***available for offline mode

Android studio 更新到3.6版本后,打开项目,发现会报错,报的还是Gradle 模式的错误

错误:
Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_iranDebugCompile'.
Could not resolve com.facebook.network.connectionclass:connectionclass:1.0.1.
Required by:
doctor:app:unspecified
> No cached version of com.facebook.network.connectionclass:connectionclass:1.0.1 available for offline mode.

在编辑器右边侧边了,有gradle选项,点击后,可以看到这个选项,切换模式就可以解决这个问题了。

android studio 3.6 No cached version of***available for offline mode

上一篇:更新gitignore后如何使其生效


下一篇:SAP Hybris platform和Netweaver的缓存(Cache)设计机制