项目中含有中文导致的
Waiting for a connection from Flutter on MI 8...
Failed to send crash report due to a network error: SocketException: OS Error: 信号灯超时时间已到
, errno = 121, address = clients2.google.com, port = 53506
Oops; flutter has exited unexpectedly: "FileSystemException: Failed to decode data using encoding 'utf-8', path = 'lib\main.dart'".
A crash report has been written to D:\project\flutter\learn_flutter\flutter_app2\flutter_06.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+FileSystemException%3A+Failed+to+decode+data+using+encoding+%27utf-8%27%2C+path+%3D+%27lib%5Cmain.dart%27
To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports
Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://git.io/JtcM0 具体错误通过调试也可以看到