flutter doctor android licenses exception code example
Example 1: flutter license NoClassDefFoundError
# 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
Example 2: flutter Android SDK file not found
flutter config --android-sdk <path-to-your-android-sdk-path>
flutter doctor --android-licenses
flutter doctor -v
where dart