How to install Flutter in VsCode and run Android Emulator [Full Stack 2020]

preview_player
Показать описание
How to install Flutter in Visual Studio Code and run Android Emulator
Flutter installation steps with Visual Studio Code :
1, Download Android Studio 2020
2,Download Flutter SDK (Older or latest version) and and extract
3,Set the Path environment variable (C:\Program Files\flutter\bin)
4,Settings in Android Studio(SDK Platforms and SDK Tools)
*⚠ SDK Platforms:
+✅Android 9.0 pie
+✅Android SDK Platform 28
+✅Sources for Android 28
+✅Intel 86x Atom_64 System Image
+✅Google Play Intel 86x Atom System Image
*⚠ SDK Tools
+✅Android Emulator
+✅Android SDK Platform-Tools
+✅Android SDK Tools
+✅Intel x86 Emulator Accelerator(HAXM installer) - [ ⚠ For i3, i5, i7, 7th Gen processor chips, there is no need to integrate because HAXM is available ]
+✅Android SDK Build-Tools 30-rc2 - ✔ version 28.0.3
5,In Visual Studio- Extensions- Insall Flutter+Dart and Restart
6, Create Flutter Project on Terminal use "flutter create flutter_name"
7, Create Android Emulator Android 9 pie
8, Run the Flutter application with the Android emulator
9,In Terminal use "flutter run" (Note should wait about 8 minutes)
10,Start building your own first Flutter app🎉🎉

Thank you for Subscribe!🤞🎉

Link How to install Flutter with Android Studio 2020 on Windows [full stack 2020]:

Link Download Flutter SDK:

Link Download Android Studio:

-----------------Follow us------------------
Twitter:
Рекомендации по теме
Комментарии
Автор

if you don't like heavy, annoying Android Studio emulator use
, this video link will help you replace Android Studio emulator with lighter and faster Genymotion emulator
:

ComputerBerry
Автор

The "no device" option at the bottom right of the IDE is not showing for me with the flutter extension on

-zerenity-
Автор

I just hate that android studio requires alot of memory to be active

dolfeyy
Автор

They sure made it easy to not even want to use Flutter. Not everyone has the time or space to install and run a 25 GB installation of Android Studio *just* to get the Android SDK so we can finally have emulation in Visual Studio. Thanks for this tutorial. I'm just going to connect my phone, push my app out, make some money, and move on to console game development. I'm done with Google and Android after this. I'll build my own ecosystem.

JimmyCrackorn
Автор

But how to run when you have two or more files
Suppose main.dart, Hello_world and I'm in Hello_world and want to run Hello world but when i run Hello world automatically main.dart gets run why

nikolatesla
Автор

For Android Studio only takes 2GB on disk and 2GB RAM, for emulator depending on Android Emulator falls between 3.2GB-8.4GB on disk. To be able to build and develop applications such as Flutter, React Native, Kotlin, ... the installation of Android Studio is required to run the emulator. Software like Visual Studio, IntelliJ IDEA, etc. cannot run the emulator, all have to rely on Android Studio.Because Android is owned by Google so Android Studio is software for developing applications official Android.

ComputerBerry
Автор

After executing the dart file, will it create a apk file? If yes, where can i find the apk file ?

prabumanikandanmarimuthu
Автор

wait, so if we need to run vs code, must we open android studio?

trinhtoan
Автор

Haxm not installed ? It's giving error like this, can anyone help?

shivajibanoth
Автор

Thank u so much...I have tried for more than one week..., Now it's solved for me..😌😌

harinisrinagarajan
Автор

Can you help me please : \flutter\bin\cache was unexpected

alphagonet
Автор

thank you so mutch it's so cleaver solution it solved the problem in vs code but the crazy android studio still have the issue

khalidkamil
Автор

Does it require android studio to be installed?

microtech
Автор

The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again. pls help me i do everything and it's not working

Hidosan
Автор

Help, I get this error when I put it in the terminal. How could I fix this?
flutter : The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ flutter create flutter_dev
+
+ CategoryInfo : ObjectNotFound: (flutter:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

saen
Автор

thank you for this information that's helpfull😄

boxigthegoldenage
Автор

if anyone had the problem when you can't connect to the virtual device (if you didn't choose the default path to install the sdk), run this code in the terminal to fix it "flutter config - -android-sdk <path to android sdk folder>".

king
Автор

Can you give me the link of this emulator skin..., ??

prantik
Автор

hi i have followed all the steps that you suggested, its working fine thank you, now can i uninstall my android studio ? even if i uninstall Android Std my android SDK will still be there, so will that cause a problem for flutter ?
i didnt install AVD, im using a physical device .... i installed Android studio only for getting SDK....

ajaikrishnajm
Автор

Thank you for your video, I have a problem when I start to run flutter code this show up and I don't know how I can solve it
Execution failed for task ':app:validateSigningDebug'.
> java.io.IOException: Failed to create keystore.

Saleh