Firebase云消息传递和通知错误

时间:2017-04-20 10:33:02

标签: android firebase firebase-cloud-messaging firebase-notifications

我正在使用firebase提供的QuickStart应用程序尝试firebase云消息传递,我将代码从QuickStart应用程序复制到我的应用程序,它构建良好,但是当我从firebase发送消息时它会给出此错误请帮助:

04-20 15:58:01.434 7967-8510/com.example.akshaymanagooli.firebasenotify E/AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1
  Process: com.example.akshaymanagooli.firebasenotify, PID: 7967
  java.lang.NoSuchMethodError: No static method zzz(Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzaa; or its super classes (declaration of 'com.google.android.gms.common.internal.zzaa' appears in /data/app/com.example.akshaymanagooli.firebasenotify-2/base.apk:classes2.dex)
      at com.google.android.gms.measurement.internal.zzx.zzbd(Unknown Source)
      at com.google.android.gms.measurement.AppMeasurement.getInstance(Unknown Source)
      at com.google.firebase.messaging.zzd.zzbj(Unknown Source)
      at com.google.firebase.messaging.zzd.zzc(Unknown Source)
      at com.google.firebase.messaging.zzd.zzi(Unknown Source)
      at com.google.firebase.messaging.FirebaseMessagingService.zzJ(Unknown Source)
      at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(Unknown Source)
      at com.google.firebase.iid.zzb$1.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      at java.lang.Thread.run(Thread.java:761)

0 个答案:

没有答案