flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

collection 版本冲突怎么解决

Open xiejiajin opened this issue 3 years ago • 3 comments

Because every version of flutter_test from sdk depends on collection 1.15.0 and flutter_module depends on collection ^1.16.0, flutter_test from sdk is forbidden.

xiejiajin avatar Sep 08 '22 08:09 xiejiajin

dart sdk 2.15.1 版本

xiejiajin avatar Sep 08 '22 09:09 xiejiajin

Because every version of flutter_test from sdk depends on collection 1.15.0 and every version of flutter_boost from git depends on collection ^1.16.0, flutter_test from sdk is incompatible with flutter_boost from git. So, because flutter_module depends on both flutter_boost from git and flutter_test from sdk, version solving failed. pub get failed (1; So, because flutter_module depends on both flutter_boost from git and flutter_test from sdk, version solving failed.)

xiejiajin avatar Sep 08 '22 09:09 xiejiajin

这个直接dependency_overrides 下覆盖下就可以了

shingohu avatar Sep 09 '22 07:09 shingohu