我试图将 flutter_blue 导入到我的项目中,由 生成flutter create myapp
,但我直接收到一条错误消息:
Because every version of flutter_test from sdk depends on convert 2.0.1 and flutter_blue 0.4.0 depends on convert ^2.0.2, flutter_test from sdk is incompatible with flutter_blue 0.4.0.
And because no versions of flutter_blue match >0.4.0 <0.5.0, flutter_test from sdk is incompatible with flutter_blue ^0.4.0. ...
pub get failed (1)
我正在使用 Flutter 0.5.1(预览版 1)。
是否有任何解决方法可以让它以某种方式运行或任何替代库来使用蓝牙?