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?
Yes. But you should properly set the path as in this documentation: https://flutter.dev/docs/get-started/install/windows#update-your-path
To resolve the error command flutter doctor --android-licences
This issue can be resolved by installing android SDK command-line tools
.
android SDK command-line tools
E drive flutter SDK location
and run flutter_console.bat
file in which enter these commands:
flutter doctor
flutter doctor --android-licenses
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.