Skip to content
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

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null) #521

Closed
1 task done
claudneysessa opened this issue Dec 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@claudneysessa
Copy link

Package

All packages

Existing issue?

What happened?

Expected vs actual result:

When creating a new project and adding the package it shows the error:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)

Steps to reproduce:

Just create a new project, add the package and build it

When removing the package the error disappears!

Relevant log output

D/EGL_emulation( 8270): eglMakeCurrent: 0x7b4b934de0: ver 3 0 (tinfo 0x7b4b797560)
E/flutter ( 8270): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 8270): #0      PathProviderApi.getApplicationSupportPath (package:path_provider_android/messages.g.dart:65:7)
E/flutter ( 8270): <asynchronous suspension>
E/flutter ( 8270): #1      getApplicationSupportDirectory (package:path_provider/path_provider.dart:78:24)
E/flutter ( 8270): <asynchronous suspension>
E/flutter ( 8270): #2      _localPath (package:google_fonts/src/file_io_desktop_and_mobile.dart:39:21)
E/flutter ( 8270): <asynchronous suspension>
@claudneysessa claudneysessa added bug Something isn't working triage Issues that haven't been triaged labels Dec 10, 2023
@guidezpl
Copy link
Collaborator

I can't repro this, could you please share more details (package version, device, OS version, etc.)?

@guidezpl
Copy link
Collaborator

Closing in favor of #560

@guidezpl guidezpl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
@guidezpl guidezpl removed the triage Issues that haven't been triaged label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants