依赖项commons-logging:commons-logging:对于调试,1.2会被忽略,因为它可能与Android提供的内部版本冲突 [英] Dependency commons-logging:commons-logging:1.2 is ignored for debug as it may be conflicting with the internal version provided by Android
问题描述
我的gradle内容有一些依赖性,当我运行这个应用程序时,它会给我这样的错误:
警告:依赖项commons-logging:对于
debug,忽略commons-logging:1.2,因为它可能与
Android提供的内部版本冲突。
如果有问题,请用jarjar重新打包,以更改类包
<我认为你应该从包含它的任何依赖中排除'commons-logging'。
它会是这样的:
compile('............'){
排除组:'commons-logging',模块:'commons-记录'
}
My gradle content some dependancy
and when i was run this app it will give me error like this.:
Warning:Dependency commons-logging:commons-logging:1.2 is ignored for debug as it may be conflicting with the internal version provided by Android. In case of problem, please repackage it with jarjar to change the class packages
I think you should exclude 'commons-logging' from any dependency that includes it. its gonna be like this: compile ('............') { exclude group: 'commons-logging', module: 'commons-logging' }
这篇关于依赖项commons-logging:commons-logging:对于调试,1.2会被忽略,因为它可能与Android提供的内部版本冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!