如何修复启动自定义启动画面时生成的错误?

How to fix error that is generated when custom splash screen is launched?

在 flutter 中制作启动画面时出现错误,就是这样:

Could not update files on device: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:59086/vscyX6-w-Zo=/

屏幕已加载,但屏幕后没有显示任何内容。我没有编写自定义屏幕。我编辑了 launch_background 文件和所有 mipmap 文件。

这个问题的答案是因为图像文件太大而无法显示在屏幕上,因此应该将其修改为按比例缩放。也因为应该使用正确的模拟器和sdk