简体   繁体   中英

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

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 .

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

在此处输入图像描述

  • 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

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM