美文网首页
Android Studio出现Error:No service

Android Studio出现Error:No service

作者: 小马哒哒001 | 来源:发表于2017-03-23 14:43 被阅读0次

编译时出现Error:No service of type Factory available in ProjectScopeServices.

studio.png

解决办法
根目录的build.gradle中

buildscript {
        dependencies {
              classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
    }
}

classpath com.github.dcendents:android-maven-gradle-plugin:1.3更新到1.4.1

相关文章

网友评论

      本文标题:Android Studio出现Error:No service

      本文链接:https://www.haomeiwen.com/subject/znwznttx.html