简体   繁体   中英

Flutter plugin mot installed still occurs even if I have installed it

在此处输入图像描述

I am working on Windows so the following command does not work.

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.
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.

  1. Create a folder, for example, src directly in a root path. This procedure is the same as what explained in the flutter official download page. So you now have d:\src for example.
  2. 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).
  3. Once the cloning finishes, execute 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.

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