【问题标题】:Why did android studio change Nexus 6 to sdk gphone x86 arm?为什么android studio 将Nexus 6 改为sdk gphone x86 arm?
【发布时间】:2020-09-20 14:12:17
【问题描述】:

Here are the phones

Here is the error message when I hover over the Nexus 6 phone

“不适用于 main.dart 配置”

图像系统是R。API是30。Flutter医生说没有问题。
在 macOS Catalina 上运行。 Android Studio 4.0.1。

如何让它工作?

【问题讨论】:

    标签: android-studio flutter arm


    【解决方案1】:

    Android Studio 中的 Flutter 不使用常规的 Android Studio 设备选择器(右侧变灰的那个),因为您也可以选择 iPhone 作为目标,而 Android Studio 的选择器无法做到这一点。忽略 Flutter 开发的设备选择器,它没有被使用。第一个单独决定了您的 Flutter 应用将在哪个手机上运行。

    sdk_gphone_<architecture> 是官方安卓模拟器的设备指纹。在左侧下拉菜单中选择您手机的指纹(应该是“Nexus 6”或 Nexus 6 的代号,即“shamu”)以在其上运行它,或者确保您没有运行任何模拟器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-09-20
      • 1970-01-01
      • 2013-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多