Here I have used FirebaseMessagingService in Kotlin but when I run the project it will give me the following error:
Class 'MyFirebaseMessagingService' is not abstract and does not implement abstract base class member public abstract fun zzd(p0: Intent!): Unit defined in com.google.firebase.messaging.FirebaseMessagingService
Any help?
Pretty much the same answer as everyone. You need to update all the firebase and google play services stuff. The thing to take away is that FIREBASE AND GOOGLE PLAY SERVICES VERSION ARE NOT ALWAYS IN SYNC ANYMORE APPARENTLY. So if you are using something like
Just ditch them. For all the versions and stuff,
If you aren't using any other play services then upgrade your firebase version to
15.0.2
.if you are, downgrading to
12.0.1
will work.Make sure to stick to play service
3.2.1
since3.3.0
will still crash firebase-config.On 2nd of May there is a new release that allow the below
So I think now we need to used different versions according to each module, check release notes pages to latest released details https://firebase.google.com/support/release-notes/android
Update all your Firebase dependencies to use the latest version: 15.0.2
https://firebase.google.com/support/release-notes/android
I fixed this issue by -
After all these changes sync your gradle files.
Hope this helps.
Just update
google-services
to3.2.1
with3.3.0
might be some problemsand
firebase-messaging
to15.0.2