Flutter run -d all will not start chrome

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Flutter run -d all will not start chrome相关的知识,希望对你有一定的参考价值。

[flutter run -d all将在androidios模拟器上启动应用程序,但不会启动chrome。

任何想法?

这很重要,这是我的flutter doctor输出:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.15.1 19B88, locale de-DE)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[!] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ Android Studio not found at /Applications/Android/Contents
[!] IntelliJ IDEA Community Edition (version 2019.2.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.36.1)
[✓] Connected device (4 available)

! Doctor found issues in 2 categories.
答案

我认为这是预期的行为,与在没有其他可用设备(Chrome和Web服务器)时键入flutter run -d all的方式相同,它将输出No devices found。我想这是因为网络支持仍处于试验阶段。唯一的方法是flutter run -d chrome

以上是关于Flutter run -d all will not start chrome的主要内容,如果未能解决你的问题,请参考以下文章

zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you w

This problem will occur when running in 64 bit mode with the 32 bit Oracle client components install

npm run dev--The 'mode' option has not been set, webpack will fallback to 'production

WARNING:tensorflow:AutoGraph could not transform xxx and will run it as-is 的一种解决思路

WARNING:tensorflow:AutoGraph could not transform xxx and will run it as-is 的一种解决思路

xxx is not in the sudoers file.This incident will be reported. 解决方法