Using Firebase and Admob-free Together

I tried using the native firebase plugin and the native admob-free plugin together.
But it always throws an error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> java.util.concurrent.ExecutionException: Multiple dex files define Lcom/google/android/gms/internal/zzev;

I’ve already tried adding them in different orders.
Am I doing something wrong?
Any help is appreciated.

I had the same problem. It’s related to different google play services used by the plugins. To fix it I changed inside cordova admob sdk plugin.xml

    <platform name="android">
        <framework src="" />
        <framework src="" />

Firebase is using the newest version via +, admob is using version 11.0.4 per default. The documented way inside the plugins readme to change play service version didn’t work for me.


I am having a hard time trying to show the rewarded video ad using ionic native admobFree plugin. Banner & interstitial ads are being being shown but not the rewardedVideo Ad. Any help regarding this issue will be appreciated.

You saved me. I was getting type is referenced as an interface site .......... zzcar .. etc issue in Android studio.

Your answer was the one which fixed the issue. Thank you.