No service of type Factory available in ProjectScopeServices.

Android studio 升级2.2 之后 Maven插件不能使用解决

compile报下面的错误

Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
  • 1
  • 1

点击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

你可能感兴趣的:(No service of type Factory available in ProjectScopeServices.)