简体   繁体   English

无法从 VS Code 执行 flutter 代码到 android 模拟器

[英]Can't execute flutter code from VS Code to android emulator

enter image description here I recently started learning Flutter. I started on Android Studio and downloaded an Emulator there. enter image description here我最近开始学习 Flutter。我从 Android Studio 开始,并在那里下载了一个模拟器。 Then I decided to move to Visual Studio Code.然后我决定转向 Visual Studio Code。

On VSC, I can open the emulator and the emulator is showing on the Status Bar but I cant't run the code using the emulator.在 VSC 上,我可以打开模拟器,模拟器显示在状态栏上,但我无法使用模拟器运行代码。 Someone please help有人请帮忙

your emulator is connected you have type the command flutter run for that Press Ctrl+Shift+` which will open up the terminal where you can type the command您的模拟器已连接 您已输入命令 flutter 为此运行 按 Ctrl+Shift+` 这将打开终端,您可以在其中输入命令

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM