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

Error:(2, 0) No service of type Factory <LoggingManagerInternal> available in ProjectScopeServices.

2016-12-28 20:28 621 查看


欢迎Follow我的GitHub, 关注我的CSDN.
其余参考Android目录.已同步微信公众号:猛戳这里

转载请注明出入谢谢! http://blog.csdn.net/xiaole0313/article/details/53913306

推荐文章:

如果你喜欢上了一个程序员小伙,献给所有的程序员女友

升级完Android Studio 2.2.0 后编译时出现Error:(2, 0) No service of type Factory <LoggingManagerInternal> 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就可以解决问题了。

推荐文章

1、Android面试经验大解密

2、Android的viewHolder模式解剖

3、Android中必须学习的八大开源项目(开发项目必看)

4、如何自学Android, 教大家玩爆Android(成为大神必看)

5、2016 Google hosts 持续更新【更新 于:2016-08-27】(免费翻墙必备)

6、Android面试经验总结(面试成功必备)

7、Android Studio 个性化设置(装逼必备)

8、Android Studio 2.2 正式起航(玩爆Android Studio 2.2必备)

Android Studio 2.2 新功能实例代码:

Android Studio 2.2新功能实例源码(玩爆Android Studio 2.2必备)

Android Studio 2.2新功能介绍:

What's new in Android development tools - Google I/O 2016(YouTube视频需要自备梯子)

【GitHub】https://github.com/xiaole0310

【csdn博客】http://blog.csdn.net/xiaole0313

【新浪微博】http://weibo.com/u/5439466748

【知乎】http://www.zhihu.com/people/yang-shou-le

【简书】http://www.jianshu.com/users/1a47e8afa34a

【技术群】279126311 [满]

【技术群】484572225 [未]

【Email】ysle0313@gmail.com

Android Studio 2.2 新功能实例代码:

Android Studio 2.2新功能实例源码(玩爆Android Studio 2.2必备)

如果你有好的文章想和大家分享,欢迎投稿,直接向我投递文章链接即可。

欢迎扫描关注我们的微信公众号(ysle_0313),不要错过每一篇干货~



一键关注我们微信公众号 ysle_0313
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐