Android Studio 升级 2.2 Maven 插件不能使用的问题
AS 升级到到 2.2 后,发现 Maven 插件不能使用,报如下错误
No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
点击 Open File 后定位到
apply plugin: 'com.github.dcendents.android-maven'
解决方法
到 Project 的 build.gradle 中 dependencies 升级 maven gradle plugin 版本
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

本文解决Android Studio升级至2.2版本后,Maven插件无法使用的问题。详细介绍了错误提示及如何通过更新gradle插件版本来解决。
1737

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



