1
I wanted to know how I can emulate the flutter apps in vs code with genymotion because whenever I give the flutter doctor it appears that it has no devices
I can’t find any tutorial on how to install both, but I see that it is possible
[√] Flutter (Channel stable, v1.12.13+hotfix.7, on Microsoft Windows [versão 10.0.17763.973], locale pt-BR)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
You may also want to add it to your PATH environment variable.
[!] Android Studio (version 3.5)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.41.1)
[!] Connected device
! No devices available```
Is your Android Studio installed correctly? By the message in flutter doctor apparently not. Resolve the issues connected to it and ensure that no problems with the Android SDK have been detected on your computer. I’ve used Genymotion for development without any problems and no additional configuration was required for this.
– Leonardo Paim
but there is no way to use only vs code and genymotion? without android studio?
– HyPe
Your goal is to program Flutter and emulate applications in Genymotion, isn’t it? So the first step is to install the entire
Flutter
which includes Android Studio. It is recommended to install it for the ease of installing the SDK since it comes integrated into the AS, otherwise you would have to install the SDK separately which is much more laborious. I recommend that you assemble the basics of your environment first and leave the emulation part to the end. If the base is ok it will help identify specific problems later.– Leonardo Paim
To use genymotion, set its SDK path to the same path as the SDK used by Flutter. If you use Android Studio, you can get there the path of the SDK used in it.
– Matheus Ribeiro