flutter window安装过程 | 您所在的位置:网站首页 › win复制粘贴文件没有权限怎么办 › flutter window安装过程 |
这里写自定义目录标题
#下载相关官网地址:https://flutter.cn/docs/get-started/install/windows 根据官网下载相关包flutter_windows_3.7.5-stable.zip 解压到c盘,在path配置相关解压路径(c:\flutter)。 执行 where flutter dart ,发现没有提示。 然后执行 flutter doctor问题1:cmdline-tools component is missing :是因为缺失了 Andriod SDK Command-line Tools(latest) 再andriod studio,settting> andrioid sdk>sdk tools 安装即可 重新执行以下 :flutter doctor 可以发现 cmdline-tools component is missing已经解决。 配置flutter默认管理下载路径,路径自己建立的文件夹,用于存放flutter版本更新相关 (命令:fvm config --cache-path D:\FVM) 由于配置环境变量有些问题,导致命令未生效,只能在路径文件夹下执行。 .\fvm config --cache-path D:\FVM执行以下命令时发生错误 :No SDKs have been installed yet. Flutter. SDKs installed outside of fvm will not be displayed. .\fvm list然后执行 ./fvm releases命令查找版本 安装命令 .\fvm install 3.7.5 安装提示报错异常 问题3 Android license status unknown. 需要将本地jdk升级到11 查看适配 flutter doctor --android-licenses
问题4 Visual Studio - develop for Windows ** 从 [https://visualstudio.microsoft.com/downloads/.]下载 (https://visualstudio.microsoft.com/downloads/.) ✗ Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the “Desktop development with C++” workload, including all of its default components **问题4 ✗ HTTP host “https://maven.google.com/” is not reachable. Reason: An error occurred while checking the HTTP host: 信号灯超时时间已到 ✗ HTTP host "https://cloud.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: 信号灯超时时间已到**哈哈,互联网 问题,大家自己解决哈。 前置问题,关于Andriod studio按照一级andriodjdk,主要还是网络问题。安装步骤就此完结哈。 |
CopyRight 2018-2019 实验室设备网 版权所有 |