I have downloaded the SDK command-line tools in Android Studio from SDK manager and then tried to run 'flutter doctor --android-licenses` in command line prompt in Windows 11. Yet the licenses do not get automatically downloaded and I get the below error in cmd:-
I also do have an issue in Android Studio as "[!] Android Studio (version 2022.1) X Unable to find bundled Java version." Does this affect it?
And I did try re-installing Android Studio once.