0

我在使用新的 flutter_blue 版本(2021 年 3 月 15 日 0.8.0)和 flutter_amplify 0.1.0 时遇到问题。

convert ^3.0.0 和 convert ^2.0.0 有一个不兼容的版本,需要在flutter_blue或flutter_amplify库中修复,不是吗?我不能在我的代码中修复它吗?

颤振酒吧得到:

Because amplify_flutter 0.1.0 depends on amplify_datastore_plugin_interface 0.1.0 which depends on uuid ^2.2.2, amplify_flutter 0.1.0 requires uuid ^2.2.2.

Because uuid 2.2.2 depends on convert ^2.0.0 and no versions of uuid match >2.2.2 <3.0.0, uuid ^2.2.2 requires convert ^2.0.0.

Thus, amplify_flutter 0.1.0 requires convert ^2.0.0.

And because flutter_blue >=0.8.0 depends on convert ^3.0.0, amplify_flutter 0.1.0 is incompatible with flutter_blue >=0.8.0.

So, because my_project depends on both flutter_blue ^0.8.0 and amplify_flutter 0.1.0, version solving failed.

pub get failed (1; So, because my_project depends on both flutter_blue ^0.8.0 and amplify_flutter 0.1.0, version solving failed.)

颤振医生:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H524 darwin-x64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (3 available)

• No issues found!

谢谢小伙伴们!

4

0 回答 0