debug run flutter APP can't stop and STOP button not response
See original GitHub issueaplle@MacBook-Air ~ % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.5.0-2.0.pre.46, on macOS 11.4 20F71 darwin-arm,
locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses
to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for
more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio (version 2020.3)
✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Community Edition (version 2021.2)
[✓] VS Code (version 1.58.2)
[✓] Connected device (2 available)
! Doctor found issues in 2 categories.
----------------------------------------------this is my IDE Inteliji Idea 2021.2 output log-------------------------------------
2021-08-03 17:52:07,575 [1428402] INFO - .flutter.run.daemon.FlutterApp - RunApp wujiapp (Run) 2021-08-03 17:52:07,575 [1428402] INFO - .flutter.run.daemon.FlutterApp - /Users/aplle/Downloads/flutter/bin/flutter [–no-color, run, --machine, --track-widget-creation, --device-id=6TNF6TPF4HU4FYMJ, --start-paused, --dart-define=flutter.inspector.structuredErrors=true, --devtools-server-address=http://127.0.0.1:9102, lib/main.dart] 2021-08-03 17:52:31,736 [1452563] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 15 ms 2021-08-03 17:54:06,166 [1546993] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/content/detail.dart 2021-08-03 18:01:01,994 [1962821] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/content/detail.dart 2021-08-03 18:03:47,308 [2128135] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 11 ms 2021-08-03 18:04:20,568 [2161395] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/common.dart 2021-08-03 18:05:39,156 [2239983] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)FrameworkDetectionExcludesConfiguration took 11 ms 2021-08-03 18:06:43,686 [2304513] INFO - rationStore.ComponentStoreImpl - Saving appEditorSettings took 64 ms 2021-08-03 18:11:47,094 [2607921] DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/aplle/StudioProjects/wujiapp/lib/common.dart 2021-08-03 18:12:04,369 [2625196] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 12 ms 2021-08-03 18:13:44,850 [2725677] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 14 ms 2021-08-03 18:14:24,558 [2765385] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 37 ms 2021-08-03 18:15:15,905 [2816732] INFO - rationStore.ComponentStoreImpl - Saving Project(name=wujiapp, containerState=COMPONENT_CREATED, componentStore=/Users/aplle/StudioProjects/wujiapp)RunManager took 12 ms 2021-08-03 18:16:42,440 [2903267] INFO - .FlutterAppDaemonEventListener - app shutdown took longer than 100ms 2021-08-03 18:16:47,299 [2908126] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:47,803 [2908630] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:47,968 [2908795] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:16:48,116 [2908943] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:05,613 [2926440] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,215 [2927042] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,384 [2927211] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart 2021-08-03 18:17:06,544 [2927371] WARN - ution.process.OSProcessHandler - Process has been already terminated: /Users/aplle/Downloads/flutter/bin/flutter --no-color run --machine --track-widget-creation --device-id=6TNF6TPF4HU4FYMJ --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9102 lib/main.dart
[ At this point I found that the dart process had reached 100% so, I ended the dart process after everning is ok. ]
2021-08-03 18:18:30,628 [3011455] INFO - .flutter.run.daemon.FlutterApp - StopApp wujiapp (Run)
The log output for my macbook(macos 11.4 , m1)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top GitHub Comments
Without additional information we’re not able to resolve this issue, so it will be closed at this time. You’re still free to add more info and respond to any questions above, though. We’ll reopen the case if you do. Thanks for your contribution!
sorry, I cannot reproduce this problem by creating a simple project for the time being. My current project is very complicated, I can’t take out a module alone to demonstrate; I’m thinking of a way to see how to reproduce the problem