leoafarias / fvm

Flutter Version Management: A simple CLI to manage Flutter SDK versions.
https://fvm.app
MIT License
4.7k stars 229 forks source link

[BUG] Android Studio cannot change the project's Flutter SDK path #767

Open EthanZhuGit opened 2 months ago

EthanZhuGit commented 2 months ago

Before creating a bug report please make check the following

Describe the bug I set default flutter version by execute command fvm global 3.24.1 as administrator in Windows 11 When I create a new flutter project , the project's flutter sdk path is the path of previous projects which android studio opened; If i change it to the path in .fvm directory , it seems to have been modified successfully

before

but after click apply button, the path changes after

To Reproduce Steps to reproduce the behavior:

  1. Go to terminal..
  2. Run fvm use stable...
  3. Check...
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Logs Please provide the verbose logs by running --verbose after the command.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.