When you add Firebase to My Application then it shows Fatal Exception
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)
+3
source to share
3 answers
I had the same problem. I followed the FCM tutorial and got this exception. I fixed this error by changing the firebase-messaging library to the latest version in the gradle file.
When I copied the tutorial, it was:
compile 'com.google.firebase:firebase-messaging:10.0.1'
I changed it to the latest version and everything works:
compile 'com.google.firebase:firebase-messaging:11.0.1'
+2
source to share