"ZipException duplicate entry" after upgrading to Android Studio 2.0 Preview 5 -


after upgrading yesterday keep getting these gradle build errors:

error:execution failed task ':app:transformclasseswithjarmergingfordebug'.

com.android.build.api.transform.transformexception: java.util.zip.zipexception: duplicate entry: xxx/.../xxxactivity$1.class

it happens whatever class i'm working on, e.g. activity class.

it's super annoying since have clean project before every build.

i using: android studio 2.0 preview 5 , gradle:2.0.0-alpha5.

upgrading newly released alpha8 android studio , gradle plugin resolves issue.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -