Why does flutter doctor gives android tollchain error


when i type flutter doctor i recieve this one

Android toolchain – develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.

For any help – thanks =)


You need to

  1. install android-studio in order to develop flutter apps.
  2. install cmd-line-tools from android-studio -> sdk-manager -> appearence and behaviour -> system settings -> android sdk -> Android SDK command line tools
  3. If you installed android-studio in any other location then add a system variable ANDROID-HOME with the path where your android sdk is located

Answered By – Rohith Nambiar

Answer Checked By – Mary Flores (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *