capacitor: bug: Capacitor build Android FIREBASE (Error)

Error Type com.google.firebase.iid.zzbg is referenced as an interface from com.google.firebase.messaging.zzf.

Capacitor Version

npx cap doctor output: @capacitor/core 2.1.0

@capacitor/android 2.1.0

@capacitor/cli 2.1.0

@capacitor/ios 2.1.0

Affected Platform(s)

  • Android
  • iOS
  • Electron
  • Web

Other Technical Details

npm --version output: 6.14.4

node --version output: v13.0.1

Other Information

It sounds like your Firebase dependencies don’t match. ???

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

I have updated variables.gradle with this firebase messaging version, and it is working!

**firebaseMessagingVersion =  '20.1.6'**

Maybe this line should also be updated in the Ionic template with Capacitor and this updating guide: https://capacitor.ionicframework.com/docs/android/updating