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

compile报下面的错误Error:(2, 0) No service of type Factory available in ProjectScopeServices.

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

posted @ 2017-11-14 13:38  糖果的二师兄  阅读(290)  评论(0编辑  收藏  举报