首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何在不关闭AdGuard的情况下使颤动工作

如何在不关闭AdGuard的情况下使颤动工作
EN

Stack Overflow用户
提问于 2021-01-04 22:12:43
回答 1查看 269关注 0票数 3

当我运行flutter doctor -v时,会出现以下日志

代码语言:javascript
运行
复制
⣽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:682:23)
#2      _NativeSocket.issueWriteEvent.issue (dart:io-patch/socket_patch.dart:1102:14)
#3      _NativeSocket.issueWriteEvent (dart:io-patch/socket_patch.dart:1109:12)
#4      _NativeSocket.multiplex (dart:io-patch/socket_patch.dart:1130:11)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

我试着搜索,并理解为什么在这里#40515 & 70596

这是因为AdGuard (here)阻止了颤动。

但我想知道,是否有可能在不禁用AdGuard的情况下,flutter工作得很好(也许可以通过AdGuard将Flutter添加到白名单中?)

感谢所有的建议!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-01-12 08:21:36

转到AdGuard Preferences -> Network -> Automatically filter applications -> Select Mode...并将模式更改为Automatic Proxy

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65564111

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档