Moon Light Box

Time is Money

Android - duplicate entry

| Comments

Build Error Message

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

Solution

Modified build.gradle file

compile('org.eclipse.paho:org.eclipse.paho.android.service:1.0.2') {
        exclude module: 'support-v4' // exclude duplicate library
}

Comments

comments powered by Disqus