C/C++教程

flutter 2.x运行flutter run 报错Cannot run with sound null safety, because the following dependenciesdon&

本文主要是介绍flutter 2.x运行flutter run 报错Cannot run with sound null safety, because the following dependenciesdon&,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

flutter 2.x运行flutter run 报错Cannot run with sound null safety, because the following dependenciesdon't support null safety:

flutter sdk提示不是支持 null safety模式

采用下面办法解决问题

flutter run --no-sound-null-safety
flutter build apk --no-sound-null-safety
这篇关于flutter 2.x运行flutter run 报错Cannot run with sound null safety, because the following dependenciesdon&的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!