Flutter 每个版本的集成测试都依赖于任何sdk中的颤振驱动程序,该sdk依赖于crypto 2.1.5

Flutter 每个版本的集成测试都依赖于任何sdk中的颤振驱动程序,该sdk依赖于crypto 2.1.5,flutter,dart,flutter-test,dart-pub,Flutter,Dart,Flutter Test,Dart Pub,自从我尝试将integration\u test包与get\u test一起添加以来,我一直遇到一个错误,这主要是因为just\u audio依赖于crypto:^3.0.0而integration\u test依赖于crypto:^2.1.5 我尝试在线查看是否可以只安装依赖项而不安装dev_依赖项,但是基于此,flutrappubcli工具似乎还不支持 这是我的pubspec.yaml 环境: sdk:“>=2.7.0 Because every version of integration

自从我尝试将
integration\u test
包与
get\u test
一起添加以来,我一直遇到一个错误,这主要是因为
just\u audio
依赖于
crypto:^3.0.0
integration\u test
依赖于
crypto:^2.1.5

我尝试在线查看是否可以只安装依赖项而不安装dev_依赖项,但是基于此,flutrappubcli工具似乎还不支持

这是我的
pubspec.yaml

环境:
sdk:“>=2.7.0
Because every version of integration_test depends on flutter_driver any from sdk which depends on crypto 2.1.5, every version of integration_test requires crypto 2.1.5.
And because just_audio 0.7.4 depends on crypto ^3.0.0 and no versions of just_audio match >0.7.4 <0.8.0, integration_test is incompatible with just_audio ^0.7.4.
So, because egy_fm_radio depends on both just_audio ^0.7.4 and integration_test ^1.0.2+1, version solving failed.
pub get failed (1; So, because egy_fm_radio depends on both just_audio ^0.7.4 and integration_test ^1.0.2+1, version solving failed.)