其他分享
首页 > 其他分享> > 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

标签:sound,run,报错,safety,null,flutter
来源: https://www.cnblogs.com/sugartang/p/15302949.html