i am getting an error in Android toolchain when i ran flutter doctor

Viewed 530

I have started with the setup of flutter updated version and am a total beginner in this platform. This is the error I have been getting. Could you please help me? enter image description here

3 Answers

You have to install Android SDK Command-line Tools (in SDK Manager).

enter image description here

After Installing, accept the android licensces (in CMD)

flutter doctor --android-licenses

Either install Android Studio to get the required dependecies or download an android sdkmanager and check its path (path/to/sdkmanager should be the path to that).

To avoid any problems for beginners, I would just install Android Studio here, set it up until it installs the android sdk, then switch to Flutter: that was the only way to fix this since some time ago if I remember correctly

Related