4
AndroidRuntime: FATAL EXCEPTION: pool-5-thread-1
    Process: com.stemdot.chopesdriver, PID: 29923
      java.lang.AbstractMethodError: abstract method "void com.google.firebase.iid.zzb.handleIntent(android.content.Intent)"
          at com.google.firebase.iid.zzb$1.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
          at java.lang.Thread.run(Thread.java:818)
Komal12
  • 3,340
  • 4
  • 16
  • 25
Pawan kumar sharma
  • 654
  • 1
  • 7
  • 21
  • Are you using the same version for Firebase and Google play services? – Akhilesh Dhar Dubey Mar 30 '17 at 07:38
  • Explantion of the exception here: http://stackoverflow.com/q/17969365/4815718. Post the dependencies block from your build.gradle file. You may be using incompatible library versions. – Bob Snyder Mar 30 '17 at 16:10

3 Answers3

3

I had the same problem. You should keep google play service version the same as firebase messaging and firebase core version.

Pavel Kovalev
  • 7,521
  • 5
  • 45
  • 67
James Christian Kaguo
  • 1,251
  • 15
  • 14
2

I've had the same problem. I followed the FCM tutorial and got this exception. I fixed this error by changing the firebase-messaging lib to the latest version in the gradle file.

When I copied from the tutorial, it was:

compile 'com.google.firebase:firebase-messaging:10.0.1'

I changed it to the latest version as of now and everything works:

compile 'com.google.firebase:firebase-messaging:11.0.1'
1

Add these three lines in gradle...

  compile 'com.google.firebase:firebase-core:10.2.1'
  compile 'com.google.firebase:firebase-messaging:10.2.1'
  compile("com.google.android.gms:play-services-gcm:10.2.1")
Vishal Vaishnav
  • 3,346
  • 3
  • 26
  • 57