小编mih*_*ala的帖子

Mac OS Big sur Flutter 安装错误,“状态不佳:未来已经完成”

它是这样显示的。

Unhandled exception:
Bad state: Future already completed
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:43:31)
#1      _NativeSocket.startConnect.<anonymous closure>.connectNext.<anonymous closure> (dart:io-patch/socket_patch.dart:678:23)
#2      _NativeSocket.issueWriteEvent.issue (dart:io-patch/socket_patch.dart:1043:14)
#3      _NativeSocket.issueWriteEvent (dart:io-patch/socket_patch.dart:1050:12)
#4      _NativeSocket.multiplex (dart:io-patch/socket_patch.dart:1071:11)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds...
Run Code Online (Sandbox Code Playgroud)

我从 macOS Big Sur 完全卸载了 flutter。但它仍然显示相同的结果。

macos dart flutter macos-big-sur

8
推荐指数
2
解决办法
1854
查看次数

标签 统计

dart ×1

flutter ×1

macos ×1

macos-big-sur ×1