Skip to content

Devices aren't appearing when I click the menu in the bottom-right corner. #5606

Closed

Description

@tirth-patel-nc

unsure if this should be filed under the SDK issue tracker.

Describe the bug

Devices aren't appearing when I click the menu in the bottom-right corner.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Devices' (Bottom-Right)
  2. Click on it.
  3. Devices doesn't show up, instead it shows enable <platform> for this project

I noticed this today on master 3.33.0-1.0.pre-1123. It wasn’t happening yesterday on 3.33.0-1.0.pre-1094. Stable is fine.

Expected behavior

It should show the list of devices.

Screenshots

Screen.Recording.2025-07-25.at.4.24.03.PM.mov

Please complete the following information:

  • Operating System and version: macOS 15.5 24F74 darwin-arm64
  • VS Code version: 1.102.2 (Universal)
  • Dart extension version: 3.114.0,
  • Flutter extension version: 3.114.2
  • Dart/Flutter SDK version: 3.33.0-1.0.pre-1123
Version: 1.102.2 (Universal)
Commit: c306e94f98122556ca081f527b466015e1bc37b0
Date: 2025-07-22T12:15:48.520Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.5.0

Just FYI (filed #172760, but it is expected)

I also noticed that even though VSCode and IntelliJ are installed, they don’t show up in the flutter doctor output on the master channel. The output seems slightly different. Not sure if this is related to the issue with devices not appearing (which asks to enable a platform). Filing Issue in SDK tracker for this. Thanks!

Master
[✓] Flutter (Channel master, 3.33.0-1.0.pre-1123, on macOS 15.5 24F74 darwin-arm64, locale en-IN) [1,636ms]
    • Flutter version 3.33.0-1.0.pre-1123 on channel master at /Users/tirthpatel/Development/flutter_master/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0d2ad230a9 (6 hours ago), 2025-07-25 00:45:26 -0400
    • Engine revision 0d2ad230a9
    • Dart version 3.10.0 (build 3.10.0-28.0.dev)
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
      enable-custom-devices, cli-animations, enable-native-assets, enable-swift-package-manager

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [772ms]
    • Android SDK at /Users/tirthpatel/Library/Android/sdk
    • Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
    • Platform android-36, build-tools 36.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [431ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [7ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (3 available) [5.6s]
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 16 (API 36) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 15.5 24F74 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 138.0.7204.169

[✓] Network resources [760ms]
    • All expected network resources are available.

• No issues found!
Stable
[✓] Flutter (Channel stable, 3.32.7, on macOS 15.5 24F74 darwin-arm64, locale en-IN) [341ms]
    • Flutter version 3.32.7 on channel stable at /Users/tirthpatel/Development/flutter_stable_latest/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d7b523b356 (9 days ago), 2025-07-15 17:03:46 -0700
    • Engine revision 39d6d6e699
    • Dart version 3.8.1
    • DevTools version 2.45.1

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,009ms]
    • Android SDK at /Users/tirthpatel/Library/Android/sdk
    • Platform android-36, build-tools 36.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [592ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [127ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2025.1) [126ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

[✓] IntelliJ IDEA Ultimate Edition (version 2025.1.3) [125ms]
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 86.0.2
    • Dart plugin version 251.27623.5

[✓] IntelliJ IDEA Community Edition (version 2025.1.3) [60ms]
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 86.0.2
    • Dart plugin version 251.26927.39

[✓] VS Code (version 1.102.2) [11ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.114.0

[✓] Connected device (3 available) [5.6s]
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 16 (API 36) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 15.5 24F74 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 138.0.7204.169

[✓] Network resources [453ms]
    • All expected network resources are available.

• No issues found!

Activity

  1. DanTup commented on Jul 25, 2025

    @DanTup
    Member

    I don't seem to be able to repro. Does this repro on a newly created project, or just this one? Could you try the following:

    • Press F1 to open the command palette
    • Run the Preferences: Open Workspace Settings (JSON) command
    • Add the following to the JSON:
      "dart.flutterDaemonLogFile": "logs/flutter_daemon.txt",
    • Reload VS Code (the Developer: Reload Window command is enough) and reproduce the issue
    • Ensure there's nothing sensitive in the log and attach here
  2. added
    awaiting infoRequires more information from the customer to progress
    on Jul 25, 2025
  3. tirth-patel-nc commented on Jul 28, 2025

    @tirth-patel-nc
    Author
    Logs
    !! ⚠️ PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING ⚠️ !!
    Dart Code extension: 3.114.2
    Flutter extension: 3.114.0 (not activated)
    
    App: Visual Studio Code
    App Host: desktop
    Version: mac 1.102.2
    
    
    Logging Categories:
        FlutterDaemon
    
    Mon Jul 28 2025 [11:36:41 GMT+0530 (India Standard Time)] Log file started
    [11:36:41] [FlutterDaemon] [Info] Spawning /Users/tirthpatel/Development/flutter_master/flutter/bin/flutter with args ["daemon"]
    [11:36:41] [FlutterDaemon] [Info] ..  in /Users/tirthpatel/Development/flutter_master/flutter
    [11:36:41] [FlutterDaemon] [Info] ..  with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code","FLUTTER_ROOT":"/Users/tirthpatel/Development/flutter_master/flutter"}}
    [11:36:41] [FlutterDaemon] [Info]     PID: 3839
    [11:36:42] [FlutterDaemon] [Info] <== [{"event":"daemon.connected","params":{"version":"0.6.1","pid":3858}}]
    [11:36:42] [FlutterDaemon] [Info] ==> [{"id":"1","method":"device.enable"}]
    [11:36:42] [FlutterDaemon] [Info] ==> [{"id":"2","method":"emulator.getEmulators"}]
    [11:36:42] [FlutterDaemon] [Info] ==> [{"id":"3","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"event":"daemon.logMessage","params":{"level":"status","message":"Device daemon started."}}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"id":"1"}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"id":"3","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"event":"device.added","params":{"id":"macos","name":"macOS","platform":"darwin","emulator":false,"category":"desktop","platformType":"macos","ephemeral":false,"emulatorId":null,"sdk":"macOS 15.5 24F74 darwin-arm64","isConnected":true,"connectionInterface":"attached","capabilities":{"hotReload":true,"hotRestart":true,"screenshot":false,"fastStart":false,"flutterExit":true,"hardwareRendering":true,"startPaused":true}}}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"id":"2","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Medium_Phone_API_36","name":"Medium Phone API 36","category":"mobile","platformType":"android"},{"id":"Pixel_8a","name":"Pixel 8a","category":"mobile","platformType":"android"}]}]
    [11:36:42] [FlutterDaemon] [Info] <== [{"event":"device.added","params":{"id":"chrome","name":"Chrome","platform":"web-javascript","emulator":false,"category":"web","platformType":"web","ephemeral":false,"emulatorId":null,"sdk":"Google Chrome 138.0.7204.169","isConnected":true,"connectionInterface":"attached","capabilities":{"hotReload":true,"hotRestart":true,"screenshot":false,"fastStart":false,"flutterExit":false,"hardwareRendering":true,"startPaused":true}}}]
    [11:36:43] [FlutterDaemon] [Info] ==> [{"id":"4","method":"emulator.getEmulators"}]
    [11:36:43] [FlutterDaemon] [Info] <== [{"id":"4","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Medium_Phone_API_36","name":"Medium Phone API 36","category":"mobile","platformType":"android"},{"id":"Pixel_8a","name":"Pixel 8a","category":"mobile","platformType":"android"}]}]
    [11:36:44] [FlutterDaemon] [Info] Spawning /Users/tirthpatel/Development/flutter_master/flutter/bin/flutter with args ["config","--machine"] in /Users/tirthpatel/Development/flutter_master/flutter with env undefined
    [11:36:47] [FlutterDaemon] [Info] ==> [{"id":"5","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:36:47] [FlutterDaemon] [Info] <== [{"id":"5","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    [11:37:07] [FlutterDaemon] [Info] ==> [{"id":"6","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:37:07] [FlutterDaemon] [Info] <== [{"id":"6","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    [11:37:07] [FlutterDaemon] [Info] ==> [{"id":"7","method":"emulator.getEmulators"}]
    [11:37:07] [FlutterDaemon] [Info] <== [{"id":"7","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Medium_Phone_API_36","name":"Medium Phone API 36","category":"mobile","platformType":"android"},{"id":"Pixel_8a","name":"Pixel 8a","category":"mobile","platformType":"android"}]}]
    [11:37:09] [FlutterDaemon] [Info] Spawning /Users/tirthpatel/Development/flutter_master/flutter/bin/flutter with args ["config","--machine"] in /Users/tirthpatel/Development/flutter_master/flutter with env undefined
    [11:37:53] [FlutterDaemon] [Info] ==> [{"id":"8","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:37:53] [FlutterDaemon] [Info] <== [{"id":"8","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    [11:37:53] [FlutterDaemon] [Info] ==> [{"id":"9","method":"emulator.getEmulators"}]
    [11:37:53] [FlutterDaemon] [Info] <== [{"id":"9","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Medium_Phone_API_36","name":"Medium Phone API 36","category":"mobile","platformType":"android"},{"id":"Pixel_8a","name":"Pixel 8a","category":"mobile","platformType":"android"}]}]
    [11:38:36] [FlutterDaemon] [Info] ==> [{"id":"10","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:38:36] [FlutterDaemon] [Info] <== [{"id":"10","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    [11:38:36] [FlutterDaemon] [Info] ==> [{"id":"11","method":"emulator.getEmulators"}]
    [11:38:36] [FlutterDaemon] [Info] <== [{"id":"11","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Medium_Phone_API_36","name":"Medium Phone API 36","category":"mobile","platformType":"android"},{"id":"Pixel_8a","name":"Pixel 8a","category":"mobile","platformType":"android"}]}]

    Issue persists on latest master (3.33.0-1.0.pre-1146)

    Image
  4. DanTup commented on Jul 28, 2025

    @DanTup
    Member

    Thanks - everything in the log looks normal. The macOS device is detected:

    [11:36:42] [FlutterDaemon] [Info] <== [{"event":"device.added","params":{"id":"macos","name":"macOS","platform":"darwin","emulator":false,"category":"desktop","platformType":"macos","ephemeral":false,"emulatorId":null,"sdk":"macOS 15.5 24F74 darwin-arm64","isConnected":true,"connectionInterface":"attached","capabilities":{"hotReload":true,"hotRestart":true,"screenshot":false,"fastStart":false,"flutterExit":true,"hardwareRendering":true,"startPaused":true}}}]
    

    And the response to getSupportedPlatforms() has "macos":{"isSupported":true}:

    [11:38:36] [FlutterDaemon] [Info] ==> [{"id":"10","method":"daemon.getSupportedPlatforms","params":{"projectRoot":"/Users/tirthpatel/j28"}}]
    [11:38:36] [FlutterDaemon] [Info] <== [{"id":"10","result":{"platformTypes":{"web":{"isSupported":true},"android":{"isSupported":true},"ios":{"isSupported":true},"linux":{"isSupported":true},"macos":{"isSupported":true},"windows":{"isSupported":true},"fuchsia":{"isSupported":false,"reasons":[{"reasonText":"the Fuchsia feature is not enabled","fixText":"Run \"flutter config --enable-fuchsia\"","fixCode":"config"},{"reasonText":"the Fuchsia platform is not enabled for this project","fixText":"Run \"flutter create --platforms=fuchsia .\" in your application directory","fixCode":"create"}]},"custom":{"isSupported":true}}}}]
    

    I couldn't repro on Windows, but I'll get my Macbook set back up and do some testing there. One thing you could check - click Help -> Toggle Developer Tools and then see if there are any errors on the Console in the chrome dev tools that look like they might be related (anything related to Dart-Code, devices, flutter, daemon, etc.). Thanks!

  5. added this to the v3.116.0 milestone on Jul 28, 2025
  6. added
    in flutterRelates to running Flutter apps
    and removed
    awaiting infoRequires more information from the customer to progress
    on Jul 28, 2025
  7. DanTup commented on Jul 28, 2025

    @DanTup
    Member

    Oh, I see the issue - Flutter removed the field we use just a few days ago in flutter/flutter#172593. My Flutter wasn't up-to-date enough to repro.

    Apparently I had seen this deprecation (flutter/flutter#140112 (comment)) but I can't see that Dart-Code was ever updated.

  8. tirth-patel-nc commented on Jul 28, 2025

    @tirth-patel-nc
    Author

    Thanks for identifying, let me know if you need anything

  9. DanTup commented on Jul 28, 2025

    @DanTup
    Member

    @tirth-patel-nc thanks! The fix is available in the Pre-release extension now (v3.115.20250728):

    Dart pre-release versions

    It'll be included in a stable release either later this week or early next week.

  10. tirth-patel-nc commented on Jul 28, 2025

    @tirth-patel-nc
    Author

    thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    importantSomething important!in flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions