Androidstudio 升级2.2 之后 Maven插件不能使用解决
compile报下面的错误
Error:(2,0) No serviceoftypeFactoryavailableinProjectScopeServices.
Error:(2,0) No serviceoftypeFactoryavailableinProjectScopeServices.
点击open file 会跳转到apply plugin: ‘com.github.dcendents.android-maven’这行。
解决方案更新maven-plugin的依赖
classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.5’
到jcenter查看最新版本android-maven-gradle
转载自:http://blog.csdn.net/u014731991/article/details/52596981