How to set up devices for VS Code for a Flutter emulator

前端 未结 16 839
南笙
南笙 2020-12-23 14:42

I\'d like to use VS Code as my editor for Flutter development, but I don\'t know how to get the emulator going. I\'ve installed VS Code on Ubuntu 17.10.

I followed th

16条回答
  •  死守一世寂寞
    2020-12-23 15:01

    ctrl+shift+p
    

    then type Flutter:launch emulator or

    run this command in your VS code terminal flutter emulators then see the result if you have installed any emulator it will show you , then to run one of them use flutter emulators --launch your_emulator_id in my case flutter emulators --launch Nexus 6 API 28 but if you havent installed any emulator you can install one with flutter emulators --create [--name xyz] then run your project flutter run inside the root directory of the project

提交回复
热议问题