Skip to content

[DevTool]Unable to connect to VM service #75055

@aboutlan

Description

@aboutlan

I ran into a problem when i opened DevTools ? And now I can't debug widget. How can i solve it. Thanks a lot !

Snipaste_2021-01-30_16-00-59

$ flutter doctor -v
[✓] Flutter (Channel unknown, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale
zh-Hans-CN)
• Flutter version 1.22.4 at /Users/xangam/Documents/Develop/flutter
• Framework revision 1aafb3a (3 months ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/xangam/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.19.0

[✓] Connected device (2 available)
• iPhone 12 Pro Max (mobile) • 91C9D3D1-D807-4858-9464-03BA4F2A7396 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• iPhone8_13 (mobile) • AA2359D5-F041-4CE5-87D1-C0C7AD105A85 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)

! Doctor found issues in 1 category.

$flutter pub global activate devtools
Package devtools is currently active at version 0.9.7.
Resolving dependencies...

  • args 1.6.0
  • async 2.4.2
  • browser_launcher 0.1.8
  • charcode 1.1.3
  • collection 1.14.13
  • convert 2.1.1
  • devtools 0.9.7
  • devtools_server 0.9.7
  • devtools_shared 0.9.7
  • http 0.12.2
  • http_multi_server 2.2.0
  • http_parser 3.1.4
  • intl 0.16.1
  • logging 0.11.4
  • meta 1.2.4
  • mime 0.9.7
  • path 1.7.0
  • pedantic 1.9.2
  • shelf 0.7.9
  • shelf_proxy 0.1.0+7
  • shelf_static 0.2.9+2
  • source_span 1.7.0
  • sse 3.6.1
  • stack_trace 1.9.6
  • stream_channel 2.0.0
  • string_scanner 1.0.5
  • term_glyph 1.1.0
  • typed_data 1.2.0
  • usage 3.4.2
  • vm_service 5.5.0
  • webkit_inspection_protocol 0.7.4
    Precompiling executables...
    Precompiled devtools:devtools.
    Installed executable devtools.
    Activated devtools 0.9.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions