從github上clone了一個項目主胧,卻出現(xiàn)了Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.的提示叼屠。
Android studio 升級2.2 之后 Maven插件不能使用
錯誤信息如下:Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices
點擊open file 會跳轉(zhuǎn)到配置的apply plugin: 'com.github.dcendents.android-maven'
這行。
解決方案更新maven-plugin的依賴classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
到j(luò)center查看最新版本android-maven-gradle