Skip to main content

Flutter™ Installation Without Android Studio™

When developing with Flutter™, you typically install Android Studio™ as part of the setup process. However, if you want a lightweight alternative, you can install Flutter™ with only the Android command-line tools. This guide walks you through the steps to set up a performant, studio-free development environment on Windows.

1. Install Command-Line Tools

First, download the Android SDK Command-Line Tools from the official Android Developer website.

To ensure proper recognition by the Flutter SDK, extract the zip file following this directory structure:

📂 Path Structure
C:\Users\\AppData\Local\Android\Sdk\cmdline-tools\latest\bin

2. Install SDK Components

Open your command prompt, navigate to your bin folder, and execute the following commands to initialize the SDK and install the required build tools.

⚡ Initialize SDK
sdkmanager --licenses
sdkmanager "platform-tools" "build-tools;34.0.0" "platforms;android-35"

3. Set Environment Variables

Configure your system environment variables to point to the SDK. Press Win + R, type sysdm.cpl, and navigate to Advanced > Environment Variables.

  • ANDROID_HOME: C:\Users\<User Name>\AppData\Local\Android\Sdk
  • Path Update: Add the following to your Path variable:
⚙️ Path Variables
%ANDROID_HOME%\cmdline-tools\latest\bin
%ANDROID_HOME%\platform-tools

4. Configure Flutter™

Finally, download the Flutter™ SDK zip file and extract it (e.g., C:\src\flutter). Update your environment variables by adding FLUTTER_HOME and appending %FLUTTER_HOME%\bin to your Path.

🚀 Verify Installation
flutter doctor -v

Comments

Contact: