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

前端 未结 16 858
南笙
南笙 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条回答
  •  猫巷女王i
    2020-12-23 14:53

    you can use 'Android iOS Emulator' plugin and Add the Android Studio emulator script to your settings in Visual Studio Code:

    Mac: emulator.emulatorPath": "~/Library/Android/sdk/tools/emulator

    Windows: emulator.emulatorPath": "\\Sdk\\emulator\\emulator.exe

    Linux: emulator.emulatorPath": "~/Documents/SDK/tools

    Your visual studio code settings are found here: File -> Preferences -> Setting -> User Setting -> Extensions -> Emulator Configuration. Open command pallete Cmd-Shift-P -> Type Emulator

提交回复
热议问题