Skip to content

"flutter logs" claims "No supported devices connected." when not run in directory with pubspec.yaml #47996

@Hixie

Description

@Hixie

Steps to reproduce:

  1. Plug in a device.
  2. flutter create dummy
  3. cd dummy/lib
  4. flutter logs

Expected results:
Logs should start, probably not showing much unless you have a debug-mode Flutter app running already on the device.

Actual results:

No supported devices connected.

Works fine if you run it from a directory with a pubspec.yaml, but that command shouldn't need a Flutter package to find the devices on which logs are available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experiencetoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions