FlowLayout
FlowLayout copied to clipboard
Error when building
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`
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'
}
will check it ouy. Didn't tried it yet with kotlin.
Same issue when I added Kotlin to my project.
This resolved the issue for me. Thanks @olegosipenko. Friendly nudge @blazsolar
I added this one but its not working for me