编译期间已经存在的程序类型 [英] Program type already present during compile
本文介绍了编译期间已经存在的程序类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在构建期间,我有一些奇怪的情况. 这是消息:
I have some strange situation during build time. Here is message:
程序类型已经存在:org.simpleframework.xml.Attribute
Program type already present: org.simpleframework.xml.Attribute
dependencies {
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.android.support:appcompat-v7:25.4.0'
implementation 'com.google.android.gms:play-services:11.8.0'
implementation 'com.google.gms:google-services:3.3.1'
implementation 'com.facebook.fresco:fresco:0.6.0'
implementation files('libs/activation.jar')
implementation files('libs/additionnal.jar')
implementation files('libs/mail.jar')
implementation project(':CouponingModule')
implementation 'com.google.firebase:firebase-messaging:11.8.0'
// https://mvnrepository.com/artifact/org.simpleframework/simple-xml
implementation('org.simpleframework:simple-xml:2.7.1') {
exclude group: 'stax', module: 'stax-api'
exclude group: 'xpp3', module: 'xpp3'
}
}
推荐答案
原因是某些库具有相似的依赖关系,因此编译器无法选择适当的依赖关系.
The reason is that some libraries have similar dependencies, therefore the compiler can not choose the appropriate one.
这篇关于编译期间已经存在的程序类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文