VSCode 编译项目报错信息

在安卓死丢丢里可以跑,在VSCode 终端里报这个信息

Error (Xcode): Error: Cannot run with sound null safety, because the following dependencies   Could 
Error (Xcode): Error: Cannot run with sound null safety, because the following depende

Error (Xcode): Error: Cannot run with sound null safety, because the following dependencies
Could not build the application for the simulator.
Error launching application on iPhone 14 Plus.

Error (Xcode): Error: Cannot run with sound null safety, because the following dependencies Could

Error (Xcode): Error: Cannot run with sound null safety, because the following depende

解决方法
vscode 终端里

 flutter clean

我擦,慌张 , 骂人***************
在执行

flutter run --no-sound-null-safety

运行,又跑起来了。

不好用,需要反复清理,苦恼....

Error (Xcode): Error: Cannot run with sound null safety, because the following dependencies


Could not build the application for the simulator.
Error launching application on iPhone 14 Plus.

VSCode 终端中 运行

flutter run --no-sound-null-safety

参考啊

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容