编译时出现Error:No service of type Factory available in ProjectScopeServices.
解决办法
根目录的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