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.
2
Answers
Go-to: C:flutterrgame-up-to-skyandroidappbuild.gradle file
replace line:
with:
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.