No service of type Factory available in ProjectScopeServices

今天在导入新项目时,遇到了文题所示的问题,于是通过搜索查得解决方案:
将工程名下的 build.gradle 中 dependencies 的
classpath 'com.github.dcendents:android-maven-plugin:1.2'
改为
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
即可。

其中原因,本文不再赘述,请看链接:

http://blog.csdn.net/qiang_xi/article/details/52777358
http://www.jianshu.com/p/c4f4894ad215
http://blog.csdn.net/shenshizhong/article/details/52331804

感谢前辈们的分享 !~

猜你喜欢

转载自blog.csdn.net/CHITTY1993/article/details/53560656