Android Studio,flutter项目,模拟器。
发生错误或代码到达断点时
Lost connection to device.
Failed to send request: {"jsonrpc":"2.0","id":"53","method":"resume","params":{"isolateId":"isolates/1358453511809151"}}
在logcat中,我有错误
E/Dart: ../../third_party/dart/runtime/vm/compiler/frontend/scope_builder.cc: 827: error: unreachable code
但我找不到原因。
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18363.778], locale ru-RU)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.6)
[√] Connected device (1 available)
• No issues found!