9.7 C
New York
Friday, December 1, 2023

Open Android emulator/ iOS simulator using VS Code

If you’re working with Flutter or React Native, you can launch an iOS Simulator or an Android Emulator using VS Code (Visual Studio Code).

1. Go to View > Command Palette… or hit Command + Shift + P (macOS) or Ctrl + Shift + P (Windows).Advertisements

If you’re using Flutter for developing apps, see steps 2 and 3. If you’re using React Native, skip steps 2 and 3, and jump directly to step 4.

2. Type Flutter: Launch into the search field then select Flutter: Launch Emulator from the result list:

If you don’t get the result as mine, make sure you have the Flutter extension installed:

Advertisements3. Now, select what you want to launch or create a new Android emulator.

4. Type React Native: Launch into the search field and you will see 2 options: React Native: Launch Android Emulator and React Native: Launch iOS Simulator. Just select the one you need.

If you could not achieve the goal, make sure you get the React Native Tools extension installed:

That’s it. Further reading:


You can also check out our Visual Studio Code topic page for more tips and tricks to improve your producibility and coding experience.

Related Articles

Latest Articles