FlowLayout icon indicating copy to clipboard operation
FlowLayout copied to clipboard

Error when building

Open clydebarrow opened this issue 8 years ago • 5 comments

Adding this component to build.gradle results in this error:

`Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/jetbrains/annotations/Nullable.class`

clydebarrow avatar Jun 13 '16 02:06 clydebarrow

Same issue. I think it's the dependency clash as I use Kotlin and you have com.intellij:annotations:12.0 in dependencies section of Build.gradle. Got it working using these lines in my Gradle script

compile ("com.wefika:flowlayout:<version>") {
    exclude group: 'com.intellij', module: 'annotations'
}

olegosipenko avatar Aug 16 '16 19:08 olegosipenko

will check it ouy. Didn't tried it yet with kotlin.

blazsolar avatar Aug 16 '16 19:08 blazsolar

Same issue when I added Kotlin to my project.

zholmes1 avatar Jun 06 '17 20:06 zholmes1

This resolved the issue for me. Thanks @olegosipenko. Friendly nudge @blazsolar

RyanRamchandar avatar Apr 09 '18 22:04 RyanRamchandar

I added this one but its not working for me

amitmundu avatar Apr 14 '20 14:04 amitmundu