compile报下面的错误
Error:(2, 0) No service of type Factory<LoggingManagerInternal> 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
本文介绍了解决Gradle编译时出现的NoserviceofTypeFactory<LoggingManagerInternal>错误的方法。通过更新maven-plugin依赖到最新版本,可以有效解决此问题。


被折叠的 条评论
为什么被折叠?



