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
參考文章 Android studio 升級2.2 之后 Maven插件不能使用解決
新聞熱點
疑難解答