0

When I try to generate an apk in android studio there was an error:

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/location/places/zzl.class

AtilioA
  • 419
  • 2
  • 6
  • 19

1 Answers1

0

Use Multidex Library. Add this in the app level build.gradle dependencies

compile 'com.android.support:multidex:1.0.1'

Add this inside android defaultConfig

android{
    multiDexEnabled true
}
Swetabja Hazra
  • 664
  • 7
  • 14