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
- install android-studio in order to develop flutter apps.
- install cmd-line-tools from android-studio -> sdk-manager -> appearence and behaviour -> system settings -> android sdk -> Android SDK command line tools
- If you installed android-studio in any other location then add a system variable
ANDROID-HOMEwith the path where your android sdk is located
Answered By – Rohith Nambiar
Answer Checked By – Mary Flores (FlutterFixes Volunteer)