【问题标题】:Error: Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window. (code -1)错误:准备您的设备进行开发时遇到错误。请检查设备和模拟器窗口。 (代码-1)
【发布时间】:2021-10-16 05:46:19
【问题描述】:

我想从 android studio 在我的 iphone 上运行我的颤振应用程序,但是当我清楚地看到它在我的 mac 上处于活动状态时,Android studio 没有在设备选项卡上读取我的手机。

在运行颤振医生时,我收到以下消息:

 Error: Errors were encountered while preparing your device for
      development. Please check the Devices and Simulators Window.  (code -1)

我重启了手机,问题依旧,怎么办?

【问题讨论】:

    标签: iphone flutter device


    【解决方案1】:

    按照此answer中的步骤进行操作

    并始终尝试flutter devices 以查看您的设备是否被 Flutter 检测到

    【讨论】:

    • 没用,我的 ios 版本是 14.7,我的 Xcode 是 12.5。它仍然说 Xcode 不支持操作系统版本
    • 尝试将您的 Xcode 更新到 Xcode 13 测试版
    猜你喜欢
    • 1970-01-01
    • 2019-12-12
    • 2020-05-18
    • 1970-01-01
    • 2021-04-27
    • 1970-01-01
    • 1970-01-01
    • 2019-04-06
    • 2016-08-21
    相关资源
    最近更新 更多