Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
Hey Friend,
This article is about how to resolve the issue of ` Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)` .In this article i will describe in breifly how to resolve this issue while running flutter.
When did I got this Error:
This is my issue which i was running linux desktop app. In my case firebase_core dependency was not working
1st Method :
What worked for me
I was building my project for linux Desktop App,Now instread I run my app for both Android and web My app and it worked fine for my case.
My Advise , Run your app on other Platforms too.
2nd Method :
As the Error is due to dependency try to clean your project and allow to rebuild your app from base of your project.
Here is my issue which I have rose in github:
commands you can use are
Conclusion:
While building your First Flutter project.These are tiny errors to get known about the errors .This type of occurs due to platform on which your are working .With flutter we can develop App for cross platform. We need to test our flutter for Different platform too while developement stage itself
Feel free to connect me!!!
Comments
Post a Comment