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.
  • 1
  • 2
  • 3

解决方法

这里写图片描述


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

猜你喜欢

转载自blog.csdn.net/zhw0596/article/details/80152593