|
| 1 | +Flutter crash report. |
| 2 | +Please report a bug at https://github.com/flutter/flutter/issues. |
| 3 | + |
| 4 | +## command |
| 5 | + |
| 6 | +flutter run -d chrome |
| 7 | + |
| 8 | +## exception |
| 9 | + |
| 10 | +StateError: Bad state: No context with the running Dart application. |
| 11 | + |
| 12 | +``` |
| 13 | +#0 RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:47:7) |
| 14 | +<asynchronous suspension> |
| 15 | +#1 AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:486:20) |
| 16 | +<asynchronous suspension> |
| 17 | +#2 AppInspector._initialize (package:dwds/src/debugging/inspector.dart:93:34) |
| 18 | +<asynchronous suspension> |
| 19 | +#3 AppInspector.initialize (package:dwds/src/debugging/inspector.dart:156:5) |
| 20 | +<asynchronous suspension> |
| 21 | +#4 ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:188:18) |
| 22 | +<asynchronous suspension> |
| 23 | +``` |
| 24 | + |
| 25 | +## flutter doctor |
| 26 | + |
| 27 | +``` |
| 28 | +[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Microsoft Windows [Version 10.0.18363.1379], locale en-US) |
| 29 | + • Flutter version 1.25.0-8.3.pre at C:\flutter-stable1 |
| 30 | + • Framework revision 5d36f2e7f5 (9 weeks ago), 2021-01-14 15:57:49 -0800 |
| 31 | + • Engine revision 7a8f8ca02c |
| 32 | + • Dart version 2.12.0 (build 2.12.0-133.7.beta) |
| 33 | + |
| 34 | +[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) |
| 35 | + • Android SDK at C:\Program Files (x86)\Android\android-sdk |
| 36 | + • Platform android-29, build-tools 29.0.2 |
| 37 | + • ANDROID_HOME = C:\Program Files (x86)\Android\android-sdk |
| 38 | + • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java |
| 39 | + • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) |
| 40 | + ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses |
| 41 | + |
| 42 | +[✓] Chrome - develop for the web |
| 43 | + • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe |
| 44 | + |
| 45 | +[✓] Android Studio (version 3.5) |
| 46 | + • Android Studio at C:\Program Files\Android\Android Studio1 |
| 47 | + • Flutter plugin version 42.1.1 |
| 48 | + • Dart plugin version 191.8593 |
| 49 | + • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) |
| 50 | + |
| 51 | +[✓] VS Code, 64-bit edition (version 1.41.0) |
| 52 | + • VS Code at C:\Program Files\Microsoft VS Code |
| 53 | + • Flutter extension can be installed from: |
| 54 | + 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter |
| 55 | + |
| 56 | +[✓] Connected device (2 available) |
| 57 | + • Mi A1 (mobile) • 32e82c9c0504 • android-arm64 • Android 9 (API 28) |
| 58 | + • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.82 |
| 59 | + |
| 60 | +! Doctor found issues in 1 category. |
| 61 | +``` |
0 commit comments