Mihir Patel
Mihir Patel

Reputation: 416

I can not build my project in android

transformClassesWithJarMergingForDebug FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 1 mins 25.883 secs

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzab.class

i got this error while i'm trying to build in android with cordova build android

anyone have solution for build it? i have ionic version - 3.2.0 cordova version - 7.0.1 nodejs - v7.10.0 npm - 4.6.1

all are latest versions installed all sdks are updated though i got error while build..

Upvotes: 1

Views: 178

Answers (2)

Mihir Patel
Mihir Patel

Reputation: 416

i have solved it. it just a problem with android studio, android sdk build tool version 19.0.0 were required update and admob is the problem for crashing the app.

thank you for reply

Upvotes: 2

Gandhi
Gandhi

Reputation: 11935

As the error says:

"duplicate entry: com/google/android/gms/internal/zzab.class",

You have included multiple versions of Google Mobile Services(gms) in your project. You might have to check your plugins in the project and ensure that only one version of gms is included in the project.

Upvotes: 0

Related Questions