Categories: java, android, firebase

Ideas on “Error: Type com.google.firebase.iid.zzav is referenced as an interface from com.google.firebase.messaging.zzd”?

2 answers

Getting an error when running on Api 22 and Api 23. 24 and up work fine. Any ideas why? The internet seems to not have an answer to this one yet.

Error: Type com.google.firebase.iid.zzav is referenced as an interface from com.google.firebase.messaging.zzd.

All answers to this question, which has the identifier 61239070

The best answer:

It sounds like your Firebase dependencies don't match. Make sure all of them match the latest versions shown in the release notes.

The problem lies in the Multidex. You must add the library in the app gradle :

implementation 'com.android.support:multidex:1.0.3' 

After, add in the defaultConfig of the app gradle :

multiDexEnabled true 

Your Application must be of the Multidex type.. You must write it in the manifest :

android:name=".MyApplication" 

"MyApplication" must be either the Multidex class, or it must extend it.

Thanks for fix; https://stackoverflow.com/a/49645970/13066825

Last questions

how do i remove the switch on my home screen?
how to edit the JS date and time to update atuomatically?
How to utilize data stored in a multidimensional array
Powermockito not mocking URL constructor in URI.toURL() method
Android Bluetooth LE Scanner only scans when phone's Location is turned on in some devices
docker wordpress container can't connect to mysql container
How can I declare a number in java that is more than 64-bits? [duplicate]
Optaplanner solutionClass entityCollectionProperty should never return null error when simple JSON object passed to controller
Anylogic, get the time a pedestrain is in a queue
How do I fix this syntax issue with my .flex file?
Optimizing query in PHP
How to find the highest number of a column and print two columns of that row in R?
Ideas on “Error: Type com.google.firebase.iid.zzav is referenced as an interface from com.google.firebase.messaging.zzd”?
JCIFS SmbFile.exists() and SmbFile.isDirectory() return false when it exists and I can listFiles()
PHP total order
Laravel booking system design
neural net - undefined column selected
How to indicate y axis does not start from 0 in ggplot?
Fragments in backStack
Spinner how to change the data