No requires Android Studio 🥳
You can install the SDK without Android Studio following my updated guide here.
Additionally, download and install Visual Studio Code. Once installed, install the dart and flutter extensions.
Download and extract the flutter SDK. Move the extracted folder into C:\Development
. The final path must be:
C:\Development\flutter
Move into Windows Environment Variables and create a variable named FLUTTER_HOME
and put as value the flutter installation directory:
C:\Development\flutter
Save. Now edit the path
variable and add the following value:
%FLUTTER_HOME%\bin
Save changes and exit.
Once SDK is installed and environment variables are setted, check the setup we have until now:
flutter doctor
It will check six requirements:
- Flutter SDK
- Android SDK
- Chrome browser (for flutter web)
- Android Studio
- Visual Studio Code
- Connected device
The first time you run this command, you'll see that the second point have a warning. This happens because it is required to accept the Android licenses. Run this command and accept all them.
flutter doctor --android-licenses
The next point to check is the third point (Chrome browser). You just need to
install it, but, in case you use another chromium based browser like Edge,
set the CHROME_EXECUTABLE
environment variable with the installation directory of your browser. In my case I'm using Edge, so, the value must be:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
That's all. Now run flutter doctor
again and all points should have a
green check, except for the Android Studio check as shown the image below.
And that's all. Now you can start coding your flutter applications. Enjoy!