Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 无法使用声音空安全性运行,因为以下依赖项不支持';不支持空安全_Flutter_Dart_Dart Pub - Fatal编程技术网

Flutter 无法使用声音空安全性运行,因为以下依赖项不支持';不支持空安全

Flutter 无法使用声音空安全性运行,因为以下依赖项不支持';不支持空安全,flutter,dart,dart-pub,Flutter,Dart,Dart Pub,/C:/flatter/.pub cache/hosted/pub.dartlang.org/video\u player\u platform\u interface-2.2.0/lib/messages.dart:4:1:错误:库在使用声音零安全时,默认情况下不能选择退出零安全。 //@dart=2.8 ^^^^^^^^^^^^^^ /C:/flatter/.pub cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.1.0

/C:/flatter/.pub cache/hosted/pub.dartlang.org/video\u player\u platform\u interface-2.2.0/lib/messages.dart:4:1:错误:库在使用声音零安全时,默认情况下不能选择退出零安全。 //@dart=2.8 ^^^^^^^^^^^^^^ /C:/flatter/.pub cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.1.0+1/lib/messages.dart:4:1:错误:库在使用声音零安全时,默认情况下不能选择退出零安全。 //@dart=2.8 ^^^^^^^^^^^^^^ 错误:无法使用健全的空安全运行,因为存在以下依赖项 不支持空安全性:

我从其他人那里导入了这个项目。当我尝试pub-get时,说需要SDK版本>=2.12.0试试这个, 转到终端并运行此命令; 颤振运行——无声音零安全