top of page
Search

Step by Step guide to install Flutter in Windows + Android Studio

  • Writer: AR Coders
    AR Coders
  • Aug 16, 2019
  • 1 min read

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single code-base.


Let's start installing Flutter SDK in Windows,


Step 1. Setup Flutter SDK

1. Open Command Prompt (Windows + R), Go to desired directory location(C:/Program Files location is not preferred as it requires elevated privileges)


>cd <username>/Flutter/


2. Now clone flutter from git location by executing below command,


...<username>/Flutter>git clone -b stable https://github.com/flutter/flutter.git


Note : You need to install git before doing this step.


3. Now open Windows Explorer, go to your Flutter directory, you will find flutter package there.


4. Setup environmental path variable to run flutter command.


C:.....<username>/Flutter/flutter/bin


5. Run below command,


>flutter doctor


you will get below output,

You will find issues in Android toolchain and Android Studio. (assuming that Android Stdio is installed in your system)


First run below command to resolve Android toolchain issues,


>flutter doctor --android-licences


And, accept all the licences by pressing y.


Step 2 : Install Flutter and Dart Plugin for Android Studio.


Open Android Studio, Go to File -> Settings -> Plugins, search for dart, install it. Follow similar steps to Flutter and then restart IDE to apply changes.


Once done, Click file -> New , now are able to see New Flutter application option for creating flutter application.


And run flutter doctor command again, output looks like this,

Well done. Now you are all set to create flutter application in Windows. All the very best !!!


In the next Blog i will explain you how to create Flutter application using Android Studio IDE.


 
 
 

Commentaires


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2019 by aurora4Learning. Proudly created with Wix.com

bottom of page