'run an emulator without android studio

I'm using flutter on visual studio code and my android studio emulator doesn't work. Is there a way I can run an emulator on visual studio code without android studio's help?



Solution 1:[1]

on android studio press shift twice then write device manger choose it then run the emulator if this doesn't work can you provide more info about the error you get from android studio

Solution 2:[2]

I recommend that you run "flutter doctor" in your VS Code Terminal to determine any issues with your Android Studio and/or emulator. Then update your question with any errors that occur or simply write out the error you are getting from Android Studio when trying to start your emulator.

However, you won't have to use an emulator that is on Android Studio if you simply turn on Developer Mode/Options on your personal Android Device, then turn on "USB Debugging", this will allow you to run a version on your app on your phone as long as you have your phone connected to your computer through a USB cable.

Solution 3:[3]

Visual Studio can work no problem but first you can need to install Android Studio. If you want to use the emulator you must install Android Studio and create AVD(Emulator), then you can use that emulator in VS code. Otherwise you need to run apps with physical device mobile USB cable.

N.B: If you create an emulator by installing Android Studio, then you can run the emulator from VS code. Thank You...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mohammed Abdallah
Solution 2 Jared
Solution 3 Md Nezam Uddin