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

AS报错处理

早上起来报这个错误,顿时间懵逼,我又没改文件怎么报这个错误,后来找到了解决办法

Gradle 'MyApp' refresh failed.

Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry has been closed.

解决方法

Error:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry_第1张图片

点击清理后!立马解决问题.

你可能感兴趣的:(报错,gradle,AS,androidstu)