-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Steps to Reproduce
Please tell us what you were doing and what went wrong. If you are running flutter tools from the command line, please try adding the -v or --verbose option to gather more information.
If the problem is with your application's rendering, please attach a screenshot and any relevant source code.
If you are getting an exception in the logs, and your code is implicated in the first few frames, then please include the source code for the functions involved.
This app:
main() {
print('Hello!');
}When run using flutter_tester exists right after printing on the console.
/Users/scheglov/Source/flutter/bin/cache/artifacts/engine/darwin-x64/flutter_tester --non-interactive --enable-checked-mode --use-test-fonts --packages=/Users/scheglov/dart/flutter-projects/test_sink/.packages /Users/scheglov/dart/flutter-projects/test_sink/lib/hello2.dart
But when I run it using flutter run lib/hello2.dart it prints I/flutter (22303): Hello! and stays running:
🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on Pixel 2 is available at: http://127.0.0.1:8100/
For a more detailed help message, press "h". To quit, press "q".
I/FlutterActivityDelegate(22303): onResume setting current activity to this
Logs
Run your application with flutter run and attach all the log output.
Run flutter analyze and attach any output of that command also.
Flutter Doctor
Paste the output of running flutter doctor -v here.
Flutter 0.2.12-pre.18 • channel unknown • unknown source
Framework • revision 440a821865 (9 days ago) • 2018-04-16 10:51:40 -0700
Engine • revision 4db7a00677
Tools • Dart 2.0.0-dev.47.0.flutter-4126459025
For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.