Installing Android Studio
This guide provides installation instructions for Android Studio on Windows, macOS, and Linux with helpful video links for each platform.
Prerequisites
Ensure your system meets the minimum requirements:
- Windows: Requirements for Windows
- macOS: Requirements for macOS
- Linux: Requirements for Linux
Step 1: Install Android Studio
Windows:
-
Download the Installer:
- Download the installer from Android Studio for Windows.
- Run the installer
android-studio-ide-<version>-windows.exe.
-
Setup Instructions:
- Choose the installation location.
- Select components like the Android Virtual Device (AVD) during the installation.
-
Finish the Installation and launch Android Studio.
macOS:
-
Download the
.dmgfile:- Download from Android Studio for macOS.
-
Install:
- Double-click the downloaded
.dmgfile to mount it. - Drag the Android Studio application to your Applications folder.
- Double-click the downloaded
-
Open Android Studio from the Applications folder.
Linux:
-
Download the
.tar.gzfile:- Download from Android Studio for Linux.
-
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
-
Launch Android Studio:
- Run
studioin your terminal to start Android Studio.
- Run
Step 2: Set Up Android Studio
- Open Android Studio after installation.
- The setup wizard will guide you to download necessary SDK components.
- Follow the wizard’s instructions to complete the setup.
Step 3: Install Flutter & Dart Plugins
- Install Plugins:
- Go to Preferences > Plugins in Android Studio.
- Search for Flutter and Dart and click Install.
Step 4: Set Up Emulator (Optional)
- Open AVD Manager in Android Studio.
- Create a New Virtual Device:
- Select the device configuration (e.g., Pixel 4).
- Select the system image and finish the setup.
- Launch the Emulator to start testing your app.
Step 5: Set Up Flutter
-
Download the Flutter SDK:
- Go to the Flutter installation page and download the latest stable release for your operating system.
-
Extract Flutter:
- Windows: Extract the
flutterfolder toC:\src\flutter. - macOS/Linux: Extract the Flutter SDK to
~/development/flutteror another preferred directory.
- Windows: Extract the
-
Add Flutter to PATH:
- Windows: Add
C:\src\flutter\binto your systemPATHenvironment 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
- Windows: Add
-
Run
flutter doctorto check if everything is set up correctly.
Step 6: Verify the Installation
- Run Android Studio.
- Create a New Flutter Project:
- Go to File > New > New Flutter Project.
- Follow the prompts to set up your project.
- Run Your Project to ensure everything is working correctly.