[英]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.我已经在 C 驱动器中安装了 Android studio,用于使用 java 进行开发,但现在我想在驱动器中安装 Z5ACEBC4CB70DDBBAE074B0AC。 But when running
flutter doctor
, I get the following error: error after running flutter doctor但是在运行
flutter doctor
时,出现以下错误:运行 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?它说我需要使用
flutter doctor --android-licenses
接受 android 许可证,但我得到了线程异常,我该怎么办?
Yes.是的。 But you should properly set the path as in this documentation: https://flutter.dev/docs/get-started/install/windows#update-your-path
但是您应该按照本文档正确设置路径: https://flutter.dev/docs/get-started/install/windows#update-your-path
To resolve the error command flutter doctor --android-licences
解决错误命令
flutter doctor --android-licences
This issue can be resolved by installing android SDK command-line tools
.这个问题可以通过安装
android SDK command-line tools
来解决。
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:E drive flutter SDK location
并运行flutter_console.bat
文件,在其中输入以下命令:
flutter doctor
flutter doctor --android-licenses
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.