Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can get any emulators running in vs code

When I ever I try to create a new emulator I get this error I can get any emulators running in vs code. I am getting No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86"”

like image 931
Sai Veeramachaneni Avatar asked May 11 '19 13:05

Sai Veeramachaneni


3 Answers

Android Studio has changed, the new way to do this is:

Virtual Device Manager

From there you can

  1. Select which image you want to download (downloads are massive, be warned)
  2. Then click "next" to create the device
  3. Reload VSCode, and your device will appear!
like image 180
gcoladarci Avatar answered Oct 19 '22 12:10

gcoladarci


Open Android Studio -> Configure -> AVD Manager -> Run Your Virtual Device
Visual studio code -> View -> Command palette... -> Flutter: Select Device -> choose your android device

enter image description here

like image 30
Giang Avatar answered Oct 19 '22 12:10

Giang


As explicitly stated, you have No suitable Android AVD system images available. Create the AVD through Android Studio first so you can easily download a system image with a click.

enter image description here

like image 16
Oliver Atienza Avatar answered Oct 19 '22 10:10

Oliver Atienza