Here's how to install the latest version of the cmdline tools for Android Studio when the command line options given do not work for you.
Command mentioned here:
flutter doctor -v
Stack Overflow post: https://stackoverflow.com/questions/6...
Remember - it's never too late!
Cheers,
Steve