visual-studiofluttergroovy

you don't have an extension for debugging groovy in flutter using visual studio code


I have this problem in my flutter app and when I try to find a Groovy extension in Vs code there is no extension (picture 2) !

enter image description here

Here when I click on find Groovy extension there is nothing!

enter image description here

Please anyone who faces this problem and find a solution for it tell me


Solution

  • You must have hit "Run" while your IDE focus was on the build.gradle file instead of any .dart file. That's why it's trying to find a Groovy extension.

    Just click on your main.dart or any other dart file, and try to Run your app again.