【发布时间】:2020-01-27 02:27:19
【问题描述】:
Click here to load the screenshot of Android studio
我是 Flutter 的新手,我无法在 Android Studio 中运行输出,因为它显示没有连接任何设备...但是我安装了 Pixel 3a 的模拟器,如上面的屏幕截图所示,它还说我的模拟器不适用于 main。飞镖配置
这是CMD中的输出
flutter run:
No connected devices.
the output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [Version
10.0.17134.950], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version
29.0.0)
[√] Android Studio (version 3.5)
[!] VS Code (version 1.37.1)
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
是否有任何解决方案可以将设备连接为我的模拟器并运行输出? 如何以其他方式运行我的输出?最好通过虚拟模拟器!
【问题讨论】:
-
这是 android studio 3.5 上的一个错误
-
你可以重启你的android studio,试试
-
我也试过重启它,但它似乎保持不变,我也尝试安装其他模拟器而不是像素 3a
标签: android android-studio flutter dart android-emulator