Android Studio出现Error:No service of type Factory available in ProjectScopeServices.

编译时出现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 of type Factory available in ProjectScopeServices.)