Environment Setup

Windows

Install Android Studio

  • Download Android Studio

  • Run the Installer

    • Run the downloaded installer executable (e.g., android-studio-ide-<version>-windows.exe).

  • Follow Installation Wizard

    • Follow the instructions in the installation wizard.

    • Choose a custom installation location if needed.

    • Select the components you want to install (Android Studio, Android Virtual Device, etc.).

  • Start Android Studio

    • Once the installation is complete, launch Android Studio.

  • Install SDK Components

    • Android Studio will prompt you to install additional SDK components and tools. Allow it to download and install them.

  • Set up Emulator (Optional)

    • If you plan to use an emulator, you can create one through the AVD (Android Virtual Device) Manager in Android Studio.


Install Flutter SDK


  • Add Flutter to System Path:

    • Add the flutter\bin directory to your system’s PATH variable.

      • Right-click on “This PC” or “Computer” on your desktop or in File Explorer.

      • Select “Properties” -> “Advanced system settings” -> “Environment Variables.”

      • In the “System variables” section, find and select the “Path” variable, then click “Edit.”

      • Click “New” and add the path to the bin directory inside the Flutter directory.

  • Verify Flutter Installation

    • Open a new Command Prompt and run ‘flutter doctor’ to check for any dependencies that need to be installed or configured.

  • Install Flutter Plugins for Android Studio

    • Open Android Studio.

    • Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”

  • Restart Android Studio

    • Restart Android Studio to apply the changes.



Linux

Install Android Studio

  • Download Android Studio

  • Extract the Archive

    • Open a terminal and navigate to the directory where the archive was downloaded.

    • Extract the archive using the following command tar -xvzf android-studio-ide-<version>-linux.tar.gz (replace android-studio-ide-<version>-linux.tar.gz with the actual filename)

  • Move to Installation Location

    • Move the extracted folder to a location of your choice. For example: sudo mv android-studio /YOUR_DIRECTORY

  • Run Android Studio Setup

    • Navigate to the bin directory inside the Android Studio folder: cd /YOUR_DIRECTORY/android-studio/bin

    • Run ‘./studio.sh’ to start the Android Studio setup

  • Follow Installation Wizard

    • Follow the instructions in the setup wizard to complete the installation.

    • Choose a custom installation location if needed.

  • Set up Emulator (Optional)

    • If you plan to use an emulator, you can create one through the AVD (Android Virtual Device) Manager in Android Studio.

Install Flutter SDK

  • Download Flutter SDK

  • Visit the official Flutter download page for the  latest version for Windows.

  • Extract Flutter Archive

    • Open a terminal and navigate to the directory where the archive was downloaded.

    • Extract the archive using the following command tar xf flutter_linux_<version>.tar.xz (replace flutter_linux_<version>.tar.xz with the actual filename)

  • Move to Installation Location

    • Move the extracted folder to a location of your choice. For example: sudo mv flutter /YOUR_DIRECTORY

  • Add Flutter to System Path:

    • Open a new terminal and run: flutter doctor

  • Verify Flutter Installation

    • Open a new Command Prompt and run ‘flutter doctor’ to check for any dependencies that need to be installed or configured.

  • Install Flutter Plugins for Android Studio

    • Open Android Studio.

    • Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”

  • Restart Android Studio

    • Restart Android Studio to apply the changes.



Mac

Install Android Studio

  • Download Android Studio

  • Open the DMG file

    • Open the downloaded DMG file.

    • Drag and drop Android Studio into the “Applications” folder.

  • Run Android Studio

    • Open the “Applications” folder and launch Android Studio.

  • Set up Android Studio

    • Complete the Android Studio Setup Wizard.

    • Android Studio may prompt you to install additional components and SDKs. Follow the instructions to install them.

  • Follow Installation Wizard

    • Follow the instructions in the setup wizard to complete the installation.

    • Choose a custom installation location if needed.

  • Set up Emulator (Optional)

    • If you plan to use an emulator, you can create one through the AVD (Android Virtual Device) Manager in Android Studio.


Install Flutter SDK

  • Download Flutter SDK

  • Visit the official Flutter download page for the  latest version for Windows.

  • Extract Flutter Archive

    • Open a terminal and navigate to the directory where the archive was downloaded.

    • Extract the archive using the following command tar xf flutter_macos_<version>.tar.xz (replace flutter_macos_<version>.tar.xz with the actual filename)

  • Move to Installation Location

    • Move the extracted folder to a location of your choice. For example : sudo mv flutter /YOUR_DIRECTORY

  • Add Flutter to System Path:

    • Open a new terminal and run: flutter doctor

  • Verify Flutter Installation

    • Open a new terminal and run: flutter doctor

  • Install Flutter Plugins for Android Studio

    • Open Android Studio.

    • Install the Flutter and Dart plugins through “File” -> “Settings” -> “Plugins” -> “Marketplace.”

  • Restart Android Studio

    • Restart Android Studio to apply the changes.