-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cannot change versions to use Dart<3.0 compatible projects #715
Comments
@yieniggu I need to know the version of FVM. Also, if you are using VSCode, after you switch, can you clear the terminal and just run "flutter" without the FVM prefix? FVM configures the Flutter VSCode settings, so in this case, it would not proxy the commands anymore, which might provide better visibility on what the problem could be. |
If this issue does not happen on the latest stable when you do the same thing, it does not seem that this would be an |
I changed the version to a much older one (2.0.0) and set it as global. Still getting the same output, or do I need to take extra steps?
|
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.Describe the bug
I set the latest stable version of flutter as global and it works fine, I just created and tested a project.
fvm flutter doctor
ouputs:However I'm trying to reproduce an example where Dart version is >=2.12.0 <=3.0.0. I try to use flutter v3.7.12 wich uses dart v2.19.6 to meet the constraints. However when I change the version with
fvm use 3.7.12
, flutter doctor outputs:And when I try to run the app on debug mode:
Honestly don't know if this is the expected behaviour or need some extra steps. Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: