flutter run -d all
将在android和iOS模拟器上启动该应用程序,但不会启动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.
答案 0 :(得分:1)
我认为这是预期的行为,与在没有其他可用设备(Chrome和网络服务器)时键入flutter run -d all
的情况相同,它会输出No devices found
。我想这是因为网络支持仍处于试验阶段。唯一的方法是flutter run -d chrome
。