How To Install Flutter In Windows

This article will explain how to install Flutter step by step, from starting to download Flutter software right through to starting the Flutter software. Let's see how to install fFlutter step by step on Windows,

  • Download Flutter SDK Windows in Here.
    Install Flutter
  • Extract the zip file downloaded and place the contained flutter in the desired installation location for the Flutter SDK. Example: C:\flutter; do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges
    Extract the zip file
  • Locate the file flutter_console.bat inside the flutter directory extract. Double-click to run the program or update your path environment variable.
  • From the Start search bar, type ‘env’ and select Edit environment variables for your account
  • Under User variables check if there is an entry called Path,
  • If the entry does exist, append the full path to flutter\bin using; it as a separator from existing values.
  • If the entry does not exist, create a new user variable named Path with the full path to flutter\bin as its value.
    Edit environment variables
  • Run Flutter Doctor in the Flutter directory with the command prompt/console window. This command checks your environment and displays a report of the status of your Flutter installation. Check the output carefully for other software, if there is any error you may need to install or perform further tasks (shown in bold text).
  • For Example,
    Example
  • The following sections describe how to perform these tasks and finish the setup process. Once you have installed any missing dependencies, you can run the Flutter Doctor command again to verify that you’ve set everything up correctly.
    Command
  • Android Setup Installation
Flutter relies on a full installation of Android Studio to supply its Android platform dependencies.
  1. Download and Install Android Studio https://developer.android.com/studio/install
  2. Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Platform Tools, and Android SDK Build Tools, which are required by Flutter when developing for Android.
  3. Set up an Android device.
To prepare to run and test your Flutter app on an Android device, you’ll need an Android device running Android 4.1 (API level 16) or higher.
  1. Enable Developer options and USB debugging on your device. Detailed instructions are available in the Android documentation.
  2. Windows-only: Install the Google USB Driver
  3. Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device.
  4. In the terminal, run the Flutter devices command to verify that Flutter recognizes your connected Android device.
By default, Flutter uses the version of the Android SDK where your adb tool is based. If you want Flutter to use a different installation of the Android SDK, you must set the ANDROID_HOME environment variable to that installation directory.
  1. Set up the Android Emulator. To prepare to run and test your Flutter app on the Android emulator, follow these steps,
    • Enable VM acceleration on your machine.
    • Launch Android Studio > Tools > Android > AVD Manager and select Create Virtual Device. (The Android submenu is only present when inside an Android project.)
      Tools
    • Choose a device definition and select Next.
      Device definition
    • Select one or more system images for the Android versions you want to emulate and select Next. An x86 or x86_64 image is recommended.
      Android versions
    • Under Emulated Performance, select Hardware - GLES 2.0 to enable hardware acceleration.
    • Verify the AVD configuration is correct, and select Finish. For details on the above steps, see Managing AVDs.
    • In Android Virtual Device Manager, click Run in the toolbar. The emulator starts up and displays the default canvas for your selected OS version and device.
Thank you for reading this article about how to install Flutter In Windows. I hope this article is useful for you. Later you can read my article about Configure Text Editor Flutter and visit My Github about Flutter in Here


Similar Articles