Fetching latest headlines…
Install Android SDK Command Line Tools for Flutter (Without Android Studio)
NORTH AMERICA
πŸ‡ΊπŸ‡Έ United Statesβ€’May 10, 2026

Install Android SDK Command Line Tools for Flutter (Without Android Studio)

0 views0 likes0 comments
Originally published byDev.to

This topic covers how to install the Android SDK needed for development without using Android Studio.

Steps

  1. Install Java SDK
# Set JAVA_HOME
setx JAVA_HOME "C:\Program Files\Eclipse Adoptium\jdk-17.0.17.10-hotspot"

# Add to PATH
setx PATH "%PATH%;%JAVA_HOME%\bin"
  • Verify installation: java -version
  1. Install Android Command Line Tools
  1. Install Android SDK Components
  • Open path C:\Android\sdk\cmdline-tools\latest\bin , then run in terminal:
sdkmanager.bat --sdk_root=C:\Android\sdk "platforms;android-36" "build-tools;28.0.3"
  1. Configure Flutter
# Add to PATH
setx PATH "%PATH%;C:\Flutter\flutter\bin"

# Navigate Flutter to know the directory of our Android SDK
flutter config --android-sdk C:\Android\sdk

# Show all Android licenses we need to accept
flutter doctor --android-licenses

Accept all licenses with y. Then, verify with flutter doctor.

My Directory

C:\
β”œβ”€β”€ Program Files\
β”‚ └── Eclipse Adoptium\
β”‚ └── jdk-17.0.17.10-hotspot\
β”‚ β”œβ”€β”€ bin\
β”‚ β”œβ”€β”€ lib\
β”‚ └── ...
β”‚
β”œβ”€β”€ Android\
β”‚ └── sdk\
β”‚ β”œβ”€β”€ cmdline-tools\
β”‚ β”‚ └── latest\
β”‚ β”‚ └── bin\
β”‚ β”‚ β”œβ”€β”€ sdkmanager.bat
β”‚ β”‚ └── ...
β”‚ β”œβ”€β”€ platform-tools\
β”‚ β”œβ”€β”€ platforms\
β”‚ β”‚ └── android-36\
β”‚ └── build-tools\
β”‚ └── 28.0.3\
β”‚
└── Flutter\
    └── flutter\
        β”œβ”€β”€ bin\
        β”‚ └── flutter.bat
        β”œβ”€β”€ packages\
        └── ...

Need help building your app? I’m available for freelance web & Android developmentβ€Šβ€”β€Šraflizocky.netlify.app

β˜• Support my writing: paypal.me/raflizocky Β· saweria.co/raflizocky

Comments (0)

Sign in to join the discussion

Be the first to comment!