I have installed flutter in E drive but android studio in C drive. will it work?

Viewed 563

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

enter image description here

It says I need to accept android licenses using flutter doctor --android-licenses which I did, but got threading exception, what should I do?

2 Answers

This issue can be resolved by installing android SDK command-line tools.

  • Go to the android studio setting and install android SDK command-line tools

enter image description here

  • Also after doing these steps go to E drive flutter SDK location and run flutter_console.bat file in which enter these commands:

flutter doctor

flutter doctor --android-licenses

Related