之前flutter的开发环境是基于dev分支构建的,之前运行好好的环境,突然报出了错误
flutter: Overflow on channel: flutter/lifecycle. Messages on this channel are being discarded in FIFO fashion. The engine may not be running or you need to adjust the buffer size if of the channel.
后来上网搜索了一番,发现是channel的问题,需要切换到stable。
先用flutter channel
命令查看flutter环境当前所在的channel,如果是dev就切换到stable分支进行开发
切换到stable channel flutter channel stable