Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
2016-11-18 16:37
507 查看
升级完Android Studio 2.1.3 后,导入项目时,编译时出现Error:No service of type Factory available in ProjectScopeServices.
clean了下工程,发现好像是maven出了问题
于是把问题定位到根目录的build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:2.1.3’
classpath ‘com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2’
classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.3’
}
}
google了下,发现有人提了Issue:
https://code.google.com/p/android/issues/detail?id=219692
直接将’ classpath com.github.dcendents:android-maven-gradle-plugin:1.3’更新到1.4.1就可以解决问题了。
clean了下工程,发现好像是maven出了问题
于是把问题定位到根目录的build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:2.1.3’
classpath ‘com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2’
classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.3’
}
}
google了下,发现有人提了Issue:
https://code.google.com/p/android/issues/detail?id=219692
直接将’ classpath com.github.dcendents:android-maven-gradle-plugin:1.3’更新到1.4.1就可以解决问题了。
相关文章推荐
- Android Studio出现 No service of type Factory available in ProjectScopeServices. Error解决方案
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Android Studio出现 No service of type Factory available in ProjectScopeServices. Error解决方案
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Android studio编译出现no service of type factory available in projectscopeservices
- Android Studio出现 No service of type Factory available in ProjectScopeServices.的错误解决方案
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- AndroidStudio导入Library或升级Gradle出现Error:No service of type Factory available in ProjectScopeServices.
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- Error:No service of type Factory available in ProjectScopeServices.
- Error:Noservice of type Factory available in ProjectScopeServices
- Error:(2, 0) No service of type Factory <LoggingManagerInternal> available in ProjectScopeServices.
- 报错Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices
- Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices. <
- studio编译报错:No service of type Factory available in ProjectScopeServices.
- Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
- Error:No service of type Factory available in ProjectScopeServices.解决办法