Skip to content

Flutter is not able to start when launching on Android simulator: Could not connect to lockdownd, error code -17 #49879

@saschak094

Description

@saschak094

Steps to Reproduce

  1. Connect iPhone via USB-C to Mac
  2. Open flutter project in VSCode
  3. Try to "Launch Flutter Emulator"

Logs

[2:07:39 PM] [General] [Info] Returning cached promise for getSupportedPlatforms()
[2:07:39 PM] [General] [Info] Returning cached promise for getSupportedPlatforms()
[2:07:39 PM] [General] [Info] Checking 1 projects for supported platforms
[2:07:39 PM] [General] [Info] Supported platforms for the workspace are ios, android, web
[2:07:39 PM] [FlutterDaemon] [Error] ideviceinfo returned an error:
ERROR: Could not connect to lockdownd, error code -17
[2:07:54 PM] [General] [Info] Starting debug session...
[2:07:54 PM] [General] [Info]     workspace: /Users/username/Documents/flutter-projects/project
[2:07:54 PM] [General] [Info] Using found common entry point: /Users/username/Documents/flutter-projects/project/lib/main.dart
[2:07:54 PM] [General] [Info] Using workspace as cwd: /Users/username/Documents/flutter-projects/project
[2:07:54 PM] [General] [Info] Detected launch project as Flutter
[2:07:54 PM] [General] [Info] Using Flutter debug adapter for this session
[2:10:28 PM] [General] [Info] Starting debug session...
[2:10:28 PM] [General] [Info]     workspace: /Users/username/Documents/flutter-projects/project
[2:10:28 PM] [General] [Info] Using found common entry point: /Users/username/Documents/flutter-projects/project/lib/main.dart
[2:10:28 PM] [General] [Info] Using workspace as cwd: /Users/username/Documents/flutter-projects/project
[2:10:28 PM] [General] [Info] Detected launch project as Flutter
[2:10:28 PM] [General] [Info] Using Flutter debug adapter for this session

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects 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