Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building #31

Open
clydebarrow opened this issue Jun 13, 2016 · 5 comments
Open

Error when building #31

clydebarrow opened this issue Jun 13, 2016 · 5 comments
Assignees

Comments

@clydebarrow
Copy link

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`

@olegosipenko
Copy link

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'
}

@blazsolar
Copy link
Owner

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

@zholmes1
Copy link

zholmes1 commented Jun 6, 2017

Same issue when I added Kotlin to my project.

@RyanRamchandar
Copy link
Contributor

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

@amitmundu
Copy link

I added this one but its not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants