-
Notifications
You must be signed in to change notification settings - Fork 340
Description
This is same as issue #1634. But opening the new issue as suggested by @DanTup in this comment. Tried android emulator, IOS simulator and a physical device (iPhone 11) connected. None were detected by VSCode (all were correctly detected by flutter devices command).
Happening with only one project and no other. This project was working fine earlier. Not sure what triggered this behavior or how to reproduce the issue.
Tried the following, but none worked:
- Disable/re enable flutter extension
- Closed & reopened VSCode
- Disconnected & reconnected devices
- Restarted the MacBook
- Opened another project where VSCode detects devices correctly and reopened the project where it doesn't
Versions:
- VS Code version: 1.57.0
- Dart extension version: v3.23.0
- Dart/Flutter SDK version:
Flutter 2.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 02c026b03c (3 weeks ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1
Daemon log:
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 3.23.0
Flutter extension: 3.23.0 (not activated)App: Visual Studio Code
Version: 1.57.0
Platform: macHTTP_PROXY: undefined
NO_PROXY: undefinedLogging Categories:
FlutterDaemonWed Jun 16 2021 [15:58:51 GMT-0400 (Eastern Daylight Time)] Log file started
[3:58:51 PM] [FlutterDaemon] [Info] Spawning /Users/gireesh/development/flutter/bin/flutter with args ["--no-sound-null-safety","daemon"]
[3:58:51 PM] [FlutterDaemon] [Info] .. in /Users/gireesh/development/flutter
[3:58:51 PM] [FlutterDaemon] [Info] .. with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[3:58:51 PM] [FlutterDaemon] [Info] PID: 28787
[3:58:51 PM] [FlutterDaemon] [Info] ==> [{"id":"1","method":"emulator.getEmulators"}]
[3:58:52 PM] [FlutterDaemon] [Info] Process terminated! 64, null
[3:58:58 PM] [FlutterDaemon] [Info] ==> [{"id":"2","method":"emulator.getEmulators"}]
[3:59:32 PM] [FlutterDaemon] [Info] ==> [{"id":"3","method":"emulator.getEmulators"}]
[4:01:52 PM] [FlutterDaemon] [Info] ==> [{"id":"4","method":"emulator.getEmulators"}]
[4:02:05 PM] [FlutterDaemon] [Info] ==> [{"id":"5","method":"emulator.getEmulators"}]

