Hi, so I just updated my flutter SDK to the latest stable version of 1.20.0 after they announced the release not long ago. But, then I found out that now, I'm unable to run my existing project by hitting the F5 on vs code as I normally do. I don't know whats wrong, but it woks fine when I run "flutter run" on cmd.
It just shows as the image below without any further info

I also tried to create a new project but, the same thing happens.
Here's the dart code log:

I got 64 exit code too, I believe this is the error in the log that is relevant.
[12:02:57 AM] [FlutterRun] [Info] [Flutter] .. in [MY_PROJECT_DIR]
[12:02:57 AM] [FlutterRun] [Info] [Flutter] .. with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[12:02:57 AM] [FlutterRun] [Info] [Flutter] PID: 1654
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +136 ms] executing: git -c log.showSignature=false log -n 1 --pretty=format:%H
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ ] 0598acc722b752516b6a27b400e96cce8eb06f2b
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ ] executing: git tag --contains HEAD
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +13 ms] Exit code 0 from: git tag --contains HEAD
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +1 ms] executing: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +11 ms] Exit code 128 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ ] fatal: No names found, cannot describe anything.
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +2 ms] Could not interpret results of "git describe":
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +1 ms] executing: git rev-parse --abbrev-ref HEAD
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ ] [MY_GIT_BRANCH]
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +3 ms] ensureAnalyticsSent: 1ms
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +5 ms] Running shutdown hooks
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +1 ms] Shutdown hooks complete
[12:02:58 AM] [FlutterRun] [Error] [Flutter] [ +4 ms] exiting with code 64
There was an incorrect version number in Dart-Code's FlutterCapabilities that caused it to try and use a switch that isn't in todays stable release. I've fixed it and pushed an update (v3.13.2). You can get this by running the Extensions: Check for Updates command from the command palette and upgrade to v3.13.2 of both extensions. If the update doesn't show up (they can take a while), you can force it by:
If you try to skip installing the Dart extension and just install Flutter, it may install an old version of the Dart extension (a VS Code marketplace caching bug). Once you're on v3.13.2 of both extensions, things should work again.
I didn't have to uninstall anything.
Restarting vscode worked for me after Flutter was updated.
@VRspace4 yep, that's how it should be (though you probably could've also click the Reload button in the extensions list instead of a full restart). The uninstall/reinstall instructions were for those that couldn't see the update yet (as it sometimes can take 15min to propagate after release). Glad it's sorted!
I restarted Vscode and it works.


I still get this error as of today after the update, btw i have uninstalled and re-installed dart then flutter.
whats the solution?
@AbdoZDGaia try the things listed in https://github.com/Dart-Code/Dart-Code/issues/2706#issuecomment-669878016 - that seems to be a Flutter issue unrelated to this one.
@AbdoZDGaia i also get the same issue Execution failed for task ':app:compileFlutterBuildDebug'.
(Android studio 4.0)
(Flutter SDK version 1.20.2 )
update flutter plugin
clean the code
then go to Pubspace.yaml
and click Pub upgrade
then Pub get
I use android studio and face same problem. after update flutter 1.20.0 project not able to run and dont give any error or log are blank
If things aren't working in Android Studio, that's not the same issue as this (which was a bug in the VS Code extension). If things are failing in Android Studio without a clear message why, that should be raised at https://github.com/flutter/flutter-intellij/ (or if it can be reproduced from the command line, https://github.com/flutter/flutter/). Thanks!
Most helpful comment
There was an incorrect version number in Dart-Code's
FlutterCapabilitiesthat caused it to try and use a switch that isn't in todays stable release. I've fixed it and pushed an update (v3.13.2). You can get this by running the Extensions: Check for Updates command from the command palette and upgrade to v3.13.2 of both extensions. If the update doesn't show up (they can take a while), you can force it by:If you try to skip installing the Dart extension and just install Flutter, it may install an old version of the Dart extension (a VS Code marketplace caching bug). Once you're on v3.13.2 of both extensions, things should work again.