4、Flutter 采坑记录篇二_依赖库不兼容
1、報錯信息
Because every version of flutter_test from sdk depends on package_resolver 1.0.4 which depends on http ^0.11.0, every version of flutter_test from sdk requires http ^0.11.0.
And because cached_network_image >=0.5.0 depends on flutter_cache_manager ^0.2.0 which depends on http ^0.12.0, flutter_test from sdk is incompatible with cached_network_image >=0.5.0.
So, because passion_timer_scoped depends on both cached_network_image ^0.5.0 and flutter_test any from sdk, version solving failed.
pub get failed (1)
2、解決方法
Version 0.5.0 is published to make the library compatible with the latest version of flutter on the master branch. You should use 0.4.2 if you use an older version of Flutter.
只需要將依賴庫改為 0.4.2 即可
?
總結
以上是生活随笔為你收集整理的4、Flutter 采坑记录篇二_依赖库不兼容的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 复变函数与积分变换小结
- 下一篇: 极域电子教室软件 v4.0 2015 豪