New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingPluginException(No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core) on Android #3212
Comments
same issue after upgrading to 0.14.0 |
I fixed that issue after adding this line And also you need to add this on your pubspec
|
Hi @tomtaila If the problem persist, Can you please provide your |
@TahaTesser I updated the code snippets in my initial post above and made it as bare bones as possible. It literally does nothing but try to initialize firebase. Also, I posted this stack overflow issue: https://stackoverflow.com/questions/63462069/missingpluginexceptionno-implementation-found-for-method-firebaseinitializecor?noredirect=1#comment112245507_63462069 and it looks like others are also having this problem. |
Hi @tomtaila
Please create new project |
In the following link you can find four examples of calling https://stackoverflow.com/a/63492262/7015400 Using the following
|
@TahaTesser I restarted a fresh project and used v 3.5.0 of gradle build tools. It works as you said, thank you! |
I deleted the Pods Directory and the Podfile, Podfile.lock, Runner.xcworkspace files. That solved my problem. |
I am still having this issue with some others and creating a new project to me doesn't sound like a viable solution can someone please reopen this? |
I'm pretty sure that it's not actually a Firebase problem. I think what happens is that if you have some other plugin which fails then this error comes up (hence masking the real culprit). Actually, it seems to me that if ANY plugins fail, they all fail (since this is a Plugin library this fails too). |
Thank you for your response. All seems to work now in the 'new' project. Still completely unsure what the culprit was since I've copied the exact project over to a new one. Anyway hope this helps anyone with this issue. I've wasted five days on this 😄, I wish you not the same whoever you are. 👋 |
I had the same problem. When i removed some lines from the MainActivity it works.
MainActivity looks like:
|
I only have this bug under iOS 14.0. Unfortunately I can't get rid of it. I have tried Stable 1.20.4 and 1.22.0-12.1.pre beta. Neither of them worked. |
I am getting the above error when calling
Firebase.initializeApp()
in my flutter code.I have followed the documentation here: https://firebase.flutter.dev/docs
Here is my pubspec.yaml
Here is my flutter code:
Here are the relevant part of my .gradle (app) file:
Here is my project gradle file:
and my Application class extension:
Finally, here is my flutter doctor -v output:
As far as I can tell I have done everything correctly according to the docs.
The text was updated successfully, but these errors were encountered: