You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd path/to/flutter/examples/flutter_gallery
$ mv lib/main.dart lib/run.dart
$ flutter run lib/run.dart
<snip out waiting for the app to deploy and start.>
^C
$ flutter attach
<start the gallery app back up>
Your application could not be compiled, because its dependencies could not be established.
Could not read "path/to/flutter/examples/flutter_gallery/lib/main.dart" when determining Dart dependencies.
The text was updated successfully, but these errors were encountered:
The root cause is that the ResidentRunner we use to attach and do hot reloads with will try to find a main.dart file when a target isn't announced. Attach doesn't provide a target, so it uses the default behavior always.
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 flutter doctor -v and a minimal reproduction of the issue.
The text was updated successfully, but these errors were encountered: