Jemo Mgebrishvili Jemo Mgebrishvili - 1 year ago 699
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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download