Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 3.44 KB

Installation.md

File metadata and controls

63 lines (47 loc) · 3.44 KB

📥 Download and Install Flutter

  1. ⬇️ Download Flutter SDK:

  2. 📁 Create a Flutter Folder:

    • Create a folder for the Flutter SDK in a desired location (e.g., C:\Users\{username}\dev\flutter).
  3. 📦 Extract the SDK:

    • Extract the SDK ZIP file to the Flutter folder you created.
  4. ⚙️ Update Windows PATH Variable:

    • Add the Flutter SDK bin directory (%USERPROFILE%\dev\flutter\bin) to your PATH environment variable.
    • Search "Environment Variables".
    • In the "User variables for {username}" section, locate or create a Path variable.
    • Add the Flutter bin directory (%USERPROFILE%\dev\flutter\bin) to the list of paths.
    • Ensure it is at the top of the list for priority.

📱 Configure Android Development

  1. 💻 Install Android Studio:

    • Download and install Android Studio.
    • Follow the setup wizard and install the necessary components such as:
      • 🧩 Android SDK Platform, API 34.0.0
      • 🧰 Android SDK Command-line Tools
      • 🛠️ Android SDK Build-Tools
      • 🔧 Android SDK Platform-Tools
      • 🕹️ Android Emulator
  2. 💻 Create and Configure an Android Emulator:

    • Launch Android Studio.
    • Go to Tools > Device Manager.
    • Click on "Create Device" to set up a new virtual device (Phone or Tablet).
    • Choose a device definition and system image, then follow the prompts to complete the configuration.
    • Once created, start the emulator.
  3. 📜 Agree to Android Licenses:

    • Open a command prompt or PowerShell.
    • Run the command flutter doctor --android-licenses to accept the licenses for the Android SDK.

Check Your Development Setup

  1. Run Flutter Doctor:
    • Open a command prompt or PowerShell.
    • Run the command flutter doctor.
    • Check the output to verify your setup.
    • If there are any issues, run flutter doctor -v for detailed information.

Start Developing

  • Once you have installed all the necessary components, you can start developing Flutter apps for Windows and Android.

Sample UIs

References