首页 > 代码库 > Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry has been closed.

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

现象:更换android studio libs文件夹下的jar包,重新编译代码报错:Cannot locate factory for objects of type DefaultGradleConnector, as ConnectorServiceRegistry has been closed.

解决办法:重启android studio

 

参考链接:http://code.google.com/p/android/issues/detail?id=80591

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