Flutter Installation Guide for Android
Studio
Step 1: System Requirements Check
Ensure your system meets the minimum requirements for Flutter and Android Studio:
- A compatible operating system: Windows, macOS, or Linux.
- At least 2.8 GB of disk space (excluding space for IDE/tools).
- For Windows, PowerShell 5.0 or newer and Git for Windows are required.
Step 2: Download the Flu er SDK
1. Visit the Flutter of icial website (https:// lutter.dev) and navigate to the 'Get Started'
section.
2. Download the latest stable release of the Flutter SDK for your speci ic operating system.
3. Extract the zip ile to a preferred location on your machine (e.g., C:\src\ lutter in
Windows, or ~/ lutter in macOS/Linux).
Step 3: Update Your Path
- Windows: From the Start search bar, enter ‘env’ and select 'Edit the system environment
variables'. In the System Properties dialog, click 'Environment Variables'. Under 'System
Variables', ind and select 'Path', then click 'Edit'. Click 'New' and add the path to your
Flutter SDK’s bin directory. Click 'OK' to close the dialogs, and restart your PC to apply the
changes.
- macOS/Linux: Open (or create) $HOME/.bash_pro ile or $HOME/.zshrc for newer versions
of macOS. Add the line export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/
lutter/bin". Run source $HOME/.bash_pro ile (or .zshrc) to refresh the current terminal
session.
Step 4: Install Android Studio
1. Download Android Studio from the Android Developer website (https://
developer.android.com/studio).
2. Launch the installer and follow the prompts to install Android Studio.
3. During installation, make sure to select the option to install the Android SDK, Android
SDK Command-line Tools, and Android SDK Build-Tools.
f
f
f
f
f
tt
f
f
f
f
f
Step 5: Install Flu er and Dart Plugins
1. Open Android Studio, click on 'Con igure' and then 'Plugins'.
2. In the Marketplace tab, search for the 'Flutter' plugin and click 'Install'. This action should
also prompt you to install the 'Dart' plugin.
3. Restart Android Studio to activate the plugins.
Step 6: Create a New Flu er Project
1. Open Android Studio and select 'Start a new Flutter project'.
2. Choose 'Flutter Application' as the project type, then click 'Next'.
3. Specify your Flutter SDK path, give your project a name, and provide a project location,
then click 'Next'.
4. Optional: Enter a company domain to set the package name for Android. Click 'Finish'.
Step 7: Run Your First Flu er App
1. Ensure you have an Android emulator running or a device connected to your computer.
2. Open the main.dart ile located in the lib folder of your Flutter project.
3. Click the green play button in the toolbar, or press Shift+F10 (Windows/Linux) or
Control+R (macOS) to build and run your app.
Step 8: Explore Your Flu er App
- The default Flutter project includes a demo app that responds to taps and button presses.
- Experiment with editing the lib/main.dart ile and use hot reload (by pressing Ctrl+\ or
clicking the lightning bolt icon) to see changes instantly.
Addi onal Resources
- For detailed Flutter setup instructions, visit the Flutter docs (https:// lutter.dev/docs/get-
started/install).
- Explore Flutter widgets and examples to get more familiar with the framework.
ti
tt
f
tt
tt
tt
f
f
f