No service of type Factory<LoggingManagerInternal> available in ProjectScopeService
导入GitHub上下载的项目时报错
No service of type Factory<LoggingManagerInternal> available in ProjectScopeService
网上大部分说将
classpath 'com.github.dcendents:android-maven-plugin:1.3'
版本升高到1.4.1或以上即可,尝试无效,其实同时要将android-maven-plugin改为android-maven-gradle-plugin
即
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
fix后出现错误Failed resolution of: Lcom/google/android/gms/common/api/Api$ClientKey;       (我导入了一个Google地图的demo)
此时只需将你的play-services相关jar包版本升高,比如
compile "com.google.android.gms:play-services-location:7.5.0"
升级为
compile "com.google.android.gms:play-services-location:8.4.0"
就行了
emm,但是有个问题是,一旦版本超过7后就会找不到com.google.android.gms.location.places的包
No service of type Factory<LoggingManagerInternal> available in ProjectScopeService的更多相关文章
- Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices. <
		compile报下面的错误Error:(2, 0) No service of type Factory available in ProjectScopeServices. 点击open file ... 
- InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Microsoft.AspNetCore.Identity.IdentityUser]'
		在新建asp.net core 应用后, 添加了自定义的ApplicationDbContext 和ApplicationUser ,并添加了Identity认证后, 会出现 InvalidOpera ... 
- gradle Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.crea
		gradle Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.crea ... 
- Unable to resolve service for type 'Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider' while attempting to activate 'Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMid
		System.InvalidOperationException HResult=0x80131509 Message=Unable to resolve service for type 'Micr ... 
- Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' while attempting to activate 'xxxxx.Controllers.xxxxController'.
		Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' while attempting to activa ... 
- Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor'
		An unhandled exception occurred while processing the request. InvalidOperationException: Unable to r ... 
- Core 3.1 MVC 抛异常“InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory' has been registered.”
		.NET Core 的版本是 3.1遇到的问题是 Action 中 return View() 的时候报错 An unhandled exception occurred while processi ... 
- Android Studio Gradle 问题 解决方案
		将AS2.0升到2.1.3出现的问题: Error:No service of type Factory available in ProjectScopeServices. 在项目中找到build ... 
- 一步一步教你将开源项目上传到jcenter
		最近闲着看了一下jcenter的使用,也想将自己使用频率比较高的东西抽成类库,然后通过compile来使用,提高开发效率,本来以为挺简单的,但是网上介绍的比较模糊,很多博客也比较老了,不适用,花了我一 ... 
随机推荐
- Javascript实现对象的创建
			能使用{}创建对象就不要使用new Object,能使用[]创建数组就不要使用new Array,JS中字面量的访问速度要高于对象. 1.通过object构造函数创建单个对象 var o = new ... 
- maven 多个jar包版本依赖问题
			maven 中使用jar包的多个版本容易造成依赖问题,解决问题的方式可以将 使用jar包的版本排除掉,比如dubbo使用netty 4.0.33版本可以将dubbo排除掉 netty依赖,这样其他ja ... 
- java中线程安全的map是ConcurrentHashMap
			原理:http://www.cnblogs.com/ITtangtang/p/3948786.html 与hashtable的区别: http://blog.csdn.net/songfeihu08 ... 
- Mars的简单使用
- JDBC(1)—Connection
			一.简介: 1.JDBC(Java Database Connectivity)是一个独立于特定数据库管理系统.通用的SQL数据库存取和操作的 *公共接口(一组API) *定义了用来访问数据库的标准j ... 
- 关于iphone6/5/4s 在iOS8.0系统下 仅仅读@3x图片
			做iphone6和plus适配时候发现一个问题,先来看图(一下讨论所有在真机下完毕,非模拟器) 128*750图片是 nav@2x.png watermark/2/text/aHR0cDovL2Js ... 
- Linux 下安装 Mongodb
			mongodb在linux下面的安装应该是很简单的,但是有一个小点需要注意,这也就是我为什么写这篇博客的原因. 首先到其官网上下载最新稳定版,解压到目录,如/usr/local/mongodb 在mo ... 
- iOS:  数据持久化方案
			数据持久化方案(如果总结不到位,或者有误的地方,敬请斧正) 一.功能: 主要是将数据持久化到本地,减少对网络请求的次数,既节省了用户的流量,也增强了App的体验效果. 二.种类: plist存储:使 ... 
- [转载]震惊!QWidget竟然可以嵌入到QML中,QMl窗口句柄竟然是这样获取
			背景 记得在初学qml时,就被大佬告知Qml的实现有两种方式“view+item”和“engine+widow”,那么能不能将QWidget嵌入到QML中来呢,我收到的答案是不可以,原因是QML的 ... 
- wcstombs_s 宽字节转多字节
			// crt_wcstombs_s.c // This example converts a wide character // string to a multibyte character str ... 
