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
PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null)) on Android devices #147824
Comments
Hi @EMUNES |
Thanks @huycoz. I never thought a plugin can cause this big trouble to the project. Taking your suggestion, I can reproduce the exception if I had the minimal dependency in
the minimal production code to run
It looks like I have found the problem. Everything was fine before, it could be |
Well, since you left I think it may not issue of So, if the issue appears when you only import and use |
Sure. I found that this issue only occur if |
It's a package issue related to |
Steps to reproduce
After upgrading to flutter 3.19.6, after sometime when I try to run
flutter run
on Android emulator API 34, I suddenly run into problems.Expected results
Run smoothly like before, the app should open instead of hanging with async suspensions.
Actual results
Packages like
path_provider
andshared_preferences
always report exception:Rebuilding dependencies with
flutter upgrade outdated_package
,flutter clean
,flutter pub cache clean
do not work. App development has been suspended because of this wired one.Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: