Com. Android. Build. API. The transform. TransformException: Java. Util. Zip. ZipException: duplicate entry: org/apache/Commons/codec/language/DoubleMetaphone class
I checked the DoubleMetaphone. Class in the following two bags,
Commons - codec - 1.10
Org. Apache. HTTP. Legacy. Jar
But, I need these two packages, that is how to solve?
CodePudding user response:
excludeCodePudding user response:
The Commons - the codec are introduced suchDependencies {
The compile fileTree (include: [' *. Jar '], dir: 'libs')
The compile group: 'Commons - the codec, name:' Commons - the codec, version: '1.7'
}
And org. Apache. HTTP. Legacy. The jar is directly under the lib directory, this kind of circumstance, ask exclude how to write? Thank you so much!