Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Android build is failing with cordova-plugin-googleplus-fix and cordova-plugin-admobpro plugins #639

Open
NeoKoushik opened this issue Oct 26, 2018 · 0 comments

Comments

@NeoKoushik
Copy link

NeoKoushik commented Oct 26, 2018

Android app is building with cordova-plugin-googleplus-fix
Also android app is building with cordova-plugin-admobpro

But it get failed when I add them together
it gives an error

  • What went wrong:
    A problem occurred evaluating root project 'project'.

Could not get unknown property 'PLAY_SERVICES_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Then I used the plugin named cordova-android-play-services-gradle-release
it gives an error

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForRelease'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/auth/zzaz;

Then I used the plugin named cordova-plugin-multidex
it also gives error

  • What went wrong:
    Execution failed for task ':transformClassesWithJarMergingForRelease'.

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

Is there any solution for that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant