Jemo Mgebrishvili Jemo Mgebrishvili - 2 months ago 252x
Android Question

Error "return type int is not compatible with Intent" when using FirebaseMessagingService class

I need FCM service in my application, I can't use FirebaseMessagingService class, it says :

Error:(24, 8) error: zzaa(Intent) in FirebaseMessagingService cannot override zzaa(Intent) in zzb return type int is not compatible with Intent

here is my code

public class MyFirebaseMessagingService extends FirebaseMessagingService {
public void onMessageReceived(RemoteMessage remoteMessage) {

private void sendNotification(String messageBody) {

I'm using this version of library
compile ''

enter image description here


I solved my problem, I was using the latest version of google map and auth services

compile ''
compile ''

when I downgrade version to 9.2.0 problem were solved