简体   繁体   English

即使我已经安装了 Flutter 插件 mot 安装仍然出现

[英]Flutter plugin mot installed still occurs even if I have installed it

在此处输入图像描述

I am working on Windows so the following command does not work.我正在研究 Windows 所以下面的命令不起作用。

ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1

Any idea?任何想法?


The last command you mentioned is specifically for MAC users not for Windows. 您提到的最后一个命令专门针对 MAC 用户,而不是针对 Windows。
Anyhow, try the below commands and check if it is working fine. 无论如何,请尝试以下命令并检查它是否工作正常。
 flutter channel dev flutter upgrade flutter config --android-studio-dir="C:\Program Files\Android\Android Studio" flutter doctor -v

Note: Make sure to change commands based on your directory structure.注意:确保根据您的目录结构更改命令。

I solved the issue with the following ways.我通过以下方式解决了这个问题。

Requirement: You have Git installed on your machine.要求:您的机器上安装了 Git。

  1. Create a folder, for example, src directly in a root path.在根路径下直接创建一个文件夹,例如src This procedure is the same as what explained in the flutter official download page.此过程与 flutter 官方下载页面中的说明相同。 So you now have d:\src for example.所以你现在有d:\src例如。
  2. Open powershell or cmd, navigate to d:\src and execute git clone -b master https://github.com/flutter/flutter.git . Open powershell or cmd, navigate to d:\src and execute git clone -b master https://github.com/flutter/flutter.git . You need to select master branch here because the stable version still has your issue (as of the time of writing).您需要在这里 select master分支,因为stable版本仍然存在您的问题(截至撰写本文时)。
  3. Once the cloning finishes, execute flutter doctor -v .克隆完成后,执行flutter doctor -v The problem should vanish.问题应该消失。
  4. You might need to set write access to the flutter folder such that Android Studio can create Flutter project files, etc.您可能需要设置对flutter文件夹的写入权限,以便 Android Studio 可以创建 Flutter 项目文件等。

暂无
暂无

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

相关问题 Flutter 医生说 Flutter 插件没有安装,即使我有 - Flutter doctor says flutter plugins not installed even though I have 颤振已经安装! 但仍然显示“未安装 Flutter 插件;这增加了 Flutter 特定功能” - FLUTTER ALREADY INSTALLED! but still shows "Flutter plugin not installed; this adds Flutter specific functionality" 我已经安装了 flutter 和 android studio 但仍然收到错误 zsh: command not found: flutter - I have installed the flutter and android studio but still getting the error zsh: command not found: flutter Flutter 和 Dart 插件在降级 flutter 时未安装错误,即使它们已安装在 ZC31B32364CE1EC5CA8FCD1508A 上 - Flutter and Dart plugin not installed errror when downgrade flutter even though they are installed on android studio 未安装 Flutter 和 Dart 插件 - Flutter and Dart plugin not installed 未找到 flutter,甚至安装了 flutter - flutter not found, even flutter installed flutter 的错误:即使安装了 CocoaPods 也未安装 - ERROR with flutter: CocoaPods not installed even if it is installed Flutter Doctor:Flutter 和 dart 插件未安装错误,但插件已安装(WINDOWS) - Flutter Doctor:Flutter and dart plugin not installed error,but plugins are installed(WINDOWS) 我已经安装了 flutter SDK 但我收到了这个错误 - I have installed flutter SDK but i am recieving this error Flutter 医生即使安装了 cocoapods 也无法识别 - Flutter doctor not recognizing cocoapods even when it is installed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM