If you upgraded to the latest Flutter 2.5 and get this message:
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.3.1 20E241 darwin-x64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.60.0)
[✓] Connected device (2 available)
But when you do the sdkmanager part you get:
` cd /Users/brade/Library/Android/sdk/platform-tools
./sdkmanager --install "cmdline-tools;latest"
The operation couldn't be completed. Unable to locate a Java Runtime.
You can always use Android Studio to complete the operation
Then your Flutter Doctor will pass