简体   繁体   English

我已经在 E 驱动器中安装了 flutter,但在 C 驱动器中安装了 android studio。 它会起作用吗?

[英]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来解决。

  • Go to the android studio setting and install android SDK command-line tools Go 到 android 工作室设置并安装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:同样在完成这些步骤 go 到E drive flutter SDK location并运行flutter_console.bat文件,在其中输入以下命令:

flutter doctor

flutter doctor --android-licenses

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio,使用Google云端硬盘(不执行任何操作) - Android Studio, Work with Google Drive (Do nothing) 如何在 C 以外的驱动器上完全安装 Android Studio 2020.3.1 for Windows 64 位:驱动器 - How to install Android Studio 2020.3.1 for Windows 64-bit completely on a drive other than C: Drive 在Android Studio中,在新路径上创建AVD(因为我的C盘已满) - In Android Studio, Create AVD at New Path (As my C drive is full) 使用 Android Studio & Emulator,C:\\ 驱动器快死了 - Working with Android Studio & Emulator, C:\ drive is about to die 循环结果回调(从谷歌驱动器下载多个图像。) - Result callback in loop (Download multiple images from google drive.) 如何将文件上传到谷歌驱动器。 是否可以通过改造 2 - How to upload files to google drive. Is it possible through Retrofit 2 无法使用驱动器 Api 在 Android Studio 中获取特定的驱动器文件缩略图链接 - Unable to get specific Drive File thumbnailLink in Android Studio with Drive Api 我刚刚安装了 Flutter、Android Studio 和 VS CODE,但我只是无法获得 flutter 医生来消除以下错误- - I have just Installed Flutter, Android Studio, and VS CODE, but I just cant get flutter doctor to eliminate the following error- Android Studio和Google Drive API(将视频上传到Google Drive) - Android Studio and Google Drive API (Uploading video to Google Drive) 在 Android Studio 中使用 Google Drive API 从驱动器下载文件以上传到另一个驱动器 - Download file from drive to upload into another drive using Google Drive API in Android Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM