关于解决No service of type Factory available in ProjectScopeServices的错误

最近在项目导入时,出现了如下错误:

关于解决No service of type Factory available in ProjectScopeServices的错误

打开文件锁定位置,发现好像是plugin出现了问题:

关于解决No service of type Factory available in ProjectScopeServices的错误

在google一下后,发现相关issue:http://www.jianshu.com/p/c4f4894ad215

将问题定位在根目录的build.gradle

关于解决No service of type Factory available in ProjectScopeServices的错误

只需要将classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'更新到1.4.1就解决问题了,算是对自己一个总结,希望能够帮助遇到相同问题的朋友。