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

android compile error #5

Open
htoooth opened this issue Mar 16, 2016 · 3 comments
Open

android compile error #5

htoooth opened this issue Mar 16, 2016 · 3 comments
Labels

Comments

@htoooth
Copy link

htoooth commented Mar 16, 2016

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: 

I find you use org/jetbrains/annotations/NotNull.class in Preconditions.class. I think this is due to this error. How to avoid this error ?

@hamen
Copy link
Contributor

hamen commented Mar 22, 2016

Hi Tao,
I think you could try something like:

dependencies {
    compile ('com.fernandocejas:arrow:1.0.0') {
        exclude module: 'annotations'
    }
}

@android10
Copy link
Owner

@hamen thanks! Really appreciate your help here. 😄

@htoooth
Copy link
Author

htoooth commented Apr 7, 2016

@hamen thanks!

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

No branches or pull requests

3 participants