Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
2017-02-13 11:44
615 查看
从github上clone了一个项目,却出现了Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.的提示
clean一下项目,终于可以看到详细信息了。
接下来就继续搜错,could not create plugin of type 'androidmavenplugin'.的因为,说是meaven的原因,修改起来也特别简单,Project下的build.gradel,修改版本就好了。
将1.3的版本修改为1.4.1即可,如果还是不可以 ,就换一个别的版本号试一下,然后点击 Try Again,就搞定了。
dependencies{
classpath'com.android.tools.build:gradle:2.2.2'
classpath'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
clean一下项目,终于可以看到详细信息了。
接下来就继续搜错,could not create plugin of type 'androidmavenplugin'.的因为,说是meaven的原因,修改起来也特别简单,Project下的build.gradel,修改版本就好了。
将1.3的版本修改为1.4.1即可,如果还是不可以 ,就换一个别的版本号试一下,然后点击 Try Again,就搞定了。
dependencies{
classpath'com.android.tools.build:gradle:2.2.2'
classpath'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
相关文章推荐
- 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. <
- 报错Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices
- No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
- No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
- AndroidStudio总结:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices
- No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.
- No service of type Factory<LoggingManagerInternal> available in ProjectScopeService
- AndroidStudio 报错 Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in Proje
- Error: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:Noservice of type Factory available in ProjectScopeServices
- Error: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.
- Android Studio出现 No service of type Factory available in ProjectScopeServices. Error解决方案