"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 -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -