0

当前的 Dart SDK 版本是 2.12.2。

Because audioplayers 0.18.3 depends on uuid ^3.0.1 which depends on crypto ^3.0.0, audioplayers 0.18.3 requires crypto ^3.0.0.

(1) 所以,因为存档 >=2.0.0 <3.0.0-nullsafety.0 依赖于加密 ^2.0.0,所以音频播放器 0.18.3 与存档 >=2.0.0 <3.0.0-nullsafety.0 不兼容。

Because image >=2.0.4 <2.1.14 depends on archive >=1.0.16 <3.0.0 and archive ^1.0.2 requires SDK version <2.0.0, image >=2.0.4 <2.1.14 requires archive ^2.0.0.
And because flutter_launcher_icons >=0.7.1 <0.9.0 depends on image ^2.1.1 and image >=2.1.14 <3.0.0-nullsafety.0 depends on archive ^2.0.0, flutter_launcher_icons >=0.7.1 <0.9.0 requires archive ^2.0.0.
And because audioplayers 0.18.3 is incompatible with archive >=2.0.0 <3.0.0-nullsafety.0 (1), audioplayers 0.18.3 is incompatible with flutter_launcher_icons >=0.7.1 <0.9.0.
So, because touch_sensitive_alarm depends on both flutter_launcher_icons ^0.7.2+1 and audioplayers 0.18.3, version solving failed.

pub get failed (1; 所以,因为 touch_sensitive_alarm 依赖于 flutter_launcher_icons ^0.7.2+1 和 audioplayers 0.18.3,版本解决失败。)

4

1 回答 1

1

因为你使用当前的 Dart SDK,你必须检查你所有的包,如果有的话null-safety,更新那些包如果过期。

希望这可以帮助你

于 2021-04-23T01:51:54.283 回答