Skip to main content

Installing Android Studio

This guide provides installation instructions for Android Studio on Windows, macOS, and Linux with helpful video links for each platform.

Note
  • Ensure that you are using JDK 17 for your Android projects for optimal compatibility and performance.
  • Flutter version 3.32.8

Prerequisites​

Ensure your system meets the minimum requirements:


Step 1: Install Android Studio​

Windows:​

  1. Download the Installer:

  2. Setup Instructions:

    • Choose the installation location.
    • Select components like the Android Virtual Device (AVD) during the installation.
  3. Finish the Installation and launch Android Studio.

macOS:​

  1. Download the .dmg file:

  2. Install:

    • Double-click the downloaded .dmg file to mount it.
    • Drag the Android Studio application to your Applications folder.
  3. Open Android Studio from the Applications folder.

Linux:​

  1. Download the .tar.gz file:

  2. Extract and Install:

    • Extract the downloaded file to your preferred directory.
    • Run the following commands in your terminal:
      sudo unzip android-studio-ide-<version>-linux.zip -d /opt
      sudo ln -s /opt/android-studio/bin/studio.sh /usr/local/bin/studio
  3. Launch Android Studio:

    • Run studio in your terminal to start Android Studio.

Step 2: Set Up Android Studio​

  1. Open Android Studio after installation.
  2. The setup wizard will guide you to download necessary SDK components.
  3. Follow the wizard’s instructions to complete the setup.

Step 3: Install Flutter & Dart Plugins​

  1. Install Plugins:
    • Go to Preferences > Plugins in Android Studio.
    • Search for Flutter and Dart and click Install.

Step 4: Set Up Emulator (Optional)​

  1. Open AVD Manager in Android Studio.
  2. Create a New Virtual Device:
    • Select the device configuration (e.g., Pixel 4).
    • Select the system image and finish the setup.
  3. Launch the Emulator to start testing your app.

Step 5: Set Up Flutter​

  1. Download the Flutter SDK:

  2. Extract Flutter:

    • Windows: Extract the flutter folder to C:\src\flutter.
    • macOS/Linux: Extract the Flutter SDK to ~/development/flutter or another preferred directory.
  3. Add Flutter to PATH:

    • Windows: Add C:\src\flutter\bin to your system PATH environment variable.
    • macOS/Linux: Open your terminal and add the following line to your .bash_profile (macOS) or .zshrc (Linux):
      export PATH="$PATH:`<path_to_flutter>/flutter/bin"
    • Run the following command to apply the changes:
      source ~/.bash_profile    # macOS
      source ~/.zshrc # Linux
  4. Run flutter doctor to check if everything is set up correctly.


Step 6: Verify the Installation​

  1. Run Android Studio.
  2. Create a New Flutter Project:
    • Go to File > New > New Flutter Project.
    • Follow the prompts to set up your project.
  3. Run Your Project to ensure everything is working correctly.

Video Guides for Android Studio Installation​

Windows Installation Video:​

macOS Installation Video:​

Linux Installation Video:​


TIPS:
  • Flutter Doctor: Run flutter doctor to check for missing dependencies.
  • For issues, refer to the Flutter docs or VS Code docs.