-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Code that works on case-insensitive file systems can/will fail on case-sensitive filesystems #9539
Comments
The "Lost connection to device." message indicates that the engine/shell has crashed. No error messages though? @goderbauer can you reproduce on a Windows machine? |
Sadly i got no error message and that made it quite hard to track down the "exact" issue. Something to note here the examples are working. |
I am currently unable to reproduce this on my Windows machine. According to
Other than that, our environments are identical. |
@susch19 What do you mean by "the examples are working"? Do you only see this error with one specific flutter project? Or with all flutter projects on your machine? |
@goderbauer All projects, except the examples included in flutter. As i written in the first post, even a new project has the same bug. |
@susch19 Can you run |
Should i just attach it to a comment or how would you like to get the file? |
That would be fine. |
It's bigger than 10mb, so i uploaded it to gdrive |
I think I figured it out: This is a problem with the case-insensitivity of file names on Windows and them being case sensitive on Android. In other words, Windows doesn't care if a file is names Work-around: You should follow dart convention (see [1]) and name your dart packages as well as all dart files using |
@goderbauer Thank you, this has worked |
I've updated the title of this bug to better reflect what we've discovered. |
Fixed with #9571. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Summary
I have this issues for a few days now and i could track it back to the commit #9424. Before that, the reload and hot reload worked fine and now it loses the connection to my device. I tried it with multiple physical and virtual devices (Android). On linux everything seems to work just fine.
Steps to Reproduce
Verbose log
Flutter Doctor
The text was updated successfully, but these errors were encountered: