skip to Main Content

i can’t open emulator in visual studio
enter image description here

2

Answers


  1. Go-to: C:flutterrgame-up-to-skyandroidappbuild.gradle file

    replace line:

    minSdkVersion flutter.minSdkVersion
    

    with:

    minSdkVersion 19 
    
    Login or Signup to reply.
  2. Even if you work with Visual Studio Code, you’ll probably need Android Studio to create and install Virtual devices using the Virtual Device Manager that comes with it, to create your Virtual machines.

    The Emulator configuration might be harder on some devices, depending on how easy is to set up GPU Acceleration for Virtual Devices. Some laptops actually don’t allow this.

    The alternative, is just connect your android phone or tablet to the computer with a USB cable, activate developer mode on your mobile device to enable the installation of apk packages from your computer, and if everything is OK, you’ll be able to compile and run your app directly in your phone.

    You can use the flutter doctor, to check if your installation is OK.
    Notice that you don’t need to install all the packages nominated by Flutter Doctor, like the Windows SDK, if you just want to create mobile apps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search