# ANdroid Studio: Install Android SDK Command-line Tools:
> Tools > SDK Manager > Appareance & Behavior > System Setting> Android SDK
> SDK Tools > Android SDK Command-line Tools (apply)
flutter doctor --android-licenses
flutter doctor -v
flutter config --android-sdk <path-to-your-android-sdk-path>
flutter doctor --android-licenses
flutter doctor -v
where dart
Installing Android SDK Command-line tools from Android SDK Manager did the job for me.
Open Tools > SDK Manager
From the left choose, Appearance & Behavior > System Settings > Android SDK
Select SDK Tools from the top menu
Check Android SDK Command-line tools and click 'apply'.
[Solved] flutter doctor –android-licenses gives a java error