gpt4 book ai didi

ios - 在 iOS 模拟器上启动 Flutter 应用程序时出错 : "Error retrieving thread information: (ipc/send) invalid destination port"

转载 作者:行者123 更新时间:2023-12-03 23:02:04 25 4
gpt4 key购买 nike

在 macOS Big Sur(带有 M1 芯片组的 Macbook Air)上,我安装了 Android Studio 以及 Flutter 和 Dart 插件。
我创建了一个全新的 Flutter 项目,其中没有任何内容,然后在 iPhone 模拟器上启动它。它工作正常,但我有以下日志每秒出现多次:

[VERBOSE-2:profiler_metrics_ios_mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
看起来这是一个已知的错误,但我找不到任何解决方法。
有谁知道如何摆脱该日志?
谢谢。

最佳答案

此问题与带有 Flutter 1 的 M1 处理器的新 MacBook 有关,只需尝试使用此命令运行应用程序将有助于在 Flutter #1 中运行应用程序

flutter run | grep -v "Error retrieving thread information"
或者您可以使用以下命令升级到 Flutter #2 并修复问题
flutter upgrade

关于ios - 在 iOS 模拟器上启动 Flutter 应用程序时出错 : "Error retrieving thread information: (ipc/send) invalid destination port",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65006195/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com