arrow icon indicating copy to clipboard operation
arrow copied to clipboard

android compile error

Open htoooth opened this issue 8 years ago • 3 comments

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 ?

htoooth avatar Mar 16 '16 06:03 htoooth

Hi Tao, I think you could try something like:

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

hamen avatar Mar 22 '16 10:03 hamen

@hamen thanks! Really appreciate your help here. :smile:

android10 avatar Apr 03 '16 21:04 android10

@hamen thanks!

htoooth avatar Apr 07 '16 12:04 htoooth