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.
有什么解决方案可以将设备作为仿真器连接并运行输出?如何以其他方式运行输出?最好由虚拟仿真器!
如何打开AVD管理器[https://developer.android.com/studio/run/managing-avds]