I had installed Android studio in C drive for developing using java, but now I want to install flutter, and I have installed it in E drive. But when running flutter doctor, I get the following error:
error after running flutter doctor
It says I need to accept android licenses using flutter doctor --android-licenses which I did, but got threading exception, what should I do?

This issue can be resolved by installing
android SDK command-line tools.android SDK command-line toolsE drive flutter SDK locationand runflutter_console.batfile in which enter these commands: