Installation
Android Studio
- This guide provides installation instructions for Android Studio on Windows, macOS, and Linux with helpful video links for each platform.
Requirements:
Ensure your system satisfies the basic requirements:
- Windows: Android Studio for Windows
- MacOs: Android Studio for MacOs
- Linux: Android Studio for Linux
Windows:
- 1. Download the Installer:
- Download the installer from Android Studio for Windows.
- Run the installer
android-studio-ide-<version>-windows.exe.
- 2. Setup Instructions:
- Choose the installation location.
- elect components like the Android Virtual Device (AVD) during the installation.
- 3. Finish the Installation and launch Android Studio.
macOS:
- 1. Download the .dmg file::
- Download from Android Studio for macOS.
- 2. Install:
- Double-click the downloaded
.dmgfile 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:
- Download from Android Studio for Linux.
- 2. Extract and Install:
- Extract the downloaded file to your preferred directory.
- Run the following commands in your terminal:
sudo unzip android-studio-ide--linux.zip -d /opt
sudo ln -s /opt/android-studio/bin/studio.sh /usr/local/bin/studio
- 3. Launch Android Studio:
- Run the following commands in your terminal:
Notes:
- 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.
- Install Plugins:
- Go to Preferences > Plugins in Android Studio.
- Search for Flutter and click Install.
- Search for Dart and click Install.
Tips:
- 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.
Verify the Installation
-
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:`/flutter/bin" - Run the following command to apply the changes:
source ~/.bash_profilesource ~/.zshrc
- Windows: Add
-
Run
flutter doctorto check if everything is set up correctly.
Notes:
- 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.