Garg's Garg's -4 years ago 104
Android Question

Can not resolve symbol "FirebaseMessagingService"

I'm tring to integrate Firebase Cloud Messaging in android app but facing problem to extend

FirebaseMessagingService
in our class.

It displaying Can not resolve symbol "FirebaseMessagingService"

app.gradle

compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-database:9.8.0'


and also add google-service.json file

Answer Source

you also need to add

compile "com.google.firebase:firebase-messaging:$PLAY_SERVICES_VERSION"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download