Skip to content Skip to sidebar Skip to footer

Jar Merging For Debug Throwing Duplicate Entry With Android?

Im getting this error when trying to run my build: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> com.android.build.transform.api.TransformE

Solution 1:

Try excluding the support-v4 since the google-play-services already contains the support-v4

compile ('com.google.android.gms:play-services:8.1.0')
{
     exclude group: 'com.android.support', module: 'support-v4'
}

if it doesn't work, Clean the project and rebuild it.

Else, try setting multiDexEnabled in the gradle file

defaultConfig {
    multiDexEnabled true
}

Post a Comment for "Jar Merging For Debug Throwing Duplicate Entry With Android?"