phonegap / build

This is the public repository for PhoneGap Build source and bug tracking
92 stars 33 forks source link

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

Open NeoKoushik opened 5 years ago

NeoKoushik commented 5 years ago

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

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

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

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?