VS Code Installation Problems

I’m trying to start using Flutter in VS Code on my Linux computer (Fedora), but I have an issue.

  • I have installed the Flutter extension (which appears to come with Dart) in VS code.
  • I have the latest cmdline-tools and Sdk folder from Android Studio Tools.
    However, typing flutter doctor into the terminal comes back with the following error:
[!] Android toolchain - develop for Android devices (Android SDK version 33.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/to/linux-android-setup for more details.

My path to Sdk manager is in my Android folder, so I do see the cmdline-tools and Sdk folder sitting there.
I don’t understand what’s missing or what I must do to make it give me all green check marks.