有什么解决方案可以将设备作为我的仿真器连接并运行输出?Flutter run:未连接任何设备

问题描述 投票:1回答:1

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 android-studio flutter dart android-emulator
1个回答
0
投票
  1. 转到android studio上的AVD Manager(Android垂直设备管理器)。
  2. 动作行上的单击播放按钮

如何打开AVD管理器[https://developer.android.com/studio/run/managing-avds]

© www.soinside.com 2019 - 2024. All rights reserved.