您的位置:首页 > 大数据 > 人工智能

studio编译报错:No service of type Factory available in ProjectScopeServices.

2017-09-12 14:49 330 查看
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

从github上有个导入的项目,编译时直接挂掉,报错:No service of type Factory available in ProjectScopeServices.

将根目录的build.gradle内上面的内容的maven-gradle 1.3修改成1.4重新编译即可,做个记录。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  编译报错
相关文章推荐