Android Studio: Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry

将别人的项目导入自己的环境下出现的问题。

Gradle refresh failed;

Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry

解决方法,清楚缓存,重启AS:

Android Studio: Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry

上一篇:Java static块


下一篇:线程池ExecutorService