美文网首页
Error:(2, 0) No service of type

Error:(2, 0) No service of type

作者: 尔乐 | 来源:发表于2016-10-20 15:35 被阅读247次

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

相关文章

网友评论

      本文标题: Error:(2, 0) No service of type

      本文链接:https://www.haomeiwen.com/subject/kfwfuttx.html