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選項,點擊后,可以看到這個選項,切換模式就可以解決這個問題了。