I want to run Flutter but the emulation I installed is not available in vs code. When I run the emulator, the emulator comes up, but the program does not run in it, only the programs run in Android Studio run in it.
Asked
Active
Viewed 398 times
0

Md. Yeasin Sheikh
- 54,221
- 7
- 29
- 56

Hossein Saeedi
- 1
- 1
-
Can you describe what you;ve tried on vs code to open emulators? Can you find any device after running `flutter enulators` – Md. Yeasin Sheikh Jul 27 '22 at 20:27
-
I just select the installed emulator and click run, the emulator comes up but the program doesn't run, I have this problem only with the installed emulator, the others work fine, like the physical device and the browser. It also gives this error when running the simulator Failed to launch Pixel 4 API 31: Error: Emulator did not connect within 60 seconds – Hossein Saeedi Jul 27 '22 at 20:53
-
Does [this](https://stackoverflow.com/q/55677874/10157127) answer your question – Md. Yeasin Sheikh Jul 27 '22 at 21:01
-
This can't help me because there is no stop option for me – Hossein Saeedi Jul 27 '22 at 21:16
-
can you run `flutter emulators` on terminal and share the info – Md. Yeasin Sheikh Jul 27 '22 at 21:17
-
it's output: To run an emulator, run 'flutter emulators --launch
'. To create a new emulator, run 'flutter emulators --create [--name xyz]'. – Hossein Saeedi Jul 27 '22 at 21:49 -
seems like there is no emulator device detected, else you would see the list – Md. Yeasin Sheikh Jul 28 '22 at 06:45
1 Answers
0
I suggest you delete your emulator from avd folder and then create one again. Also, try to run the project after running the emulator in android studio. Completely delete the folder of the installed emulator.
The emulator's folder is generally: USER/USERNAME/.android/avd

Serdar Bilgili
- 1
- 4
-
I did this, but I encountered this error: ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature. INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A) – Hossein Saeedi Jul 28 '22 at 15:51
-
delete all emulator folders in avd folder then restart computer and recreate emulator in android studio. – Serdar Bilgili Jul 29 '22 at 19:22