Click here to load the screenshot of Android studio
我是 Flutter 的新手,我无法在 Android Studio 中运行输出,因为它显示没有连接任何设备...但是我安装了 Pixel 3a 模拟器,如上面的屏幕截图所示,它还说我的模拟器不适用于 main。 Dart 配置
这是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上进入AVD Manager(Android Vertual Device Manager)。
点击操作行上的播放按钮
如何打开 AVD 管理器[ https://developer.android.com/studio/run/managing-avds]
关于android - 是否有任何解决方案可以将设备连接为我的模拟器并运行输出?Flutter run :No Devices Connected,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58123065/