Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 646
sm 66 Avatar asked Jan 31 '26 21:01

sm 66


2 Answers

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.

like image 107
maganap Avatar answered Feb 02 '26 14:02

maganap


if vscode focus on the build.gradle page when you debug, you get this warning. You should click another .dart page before debug.

like image 43
Duygu Eroğlu Avatar answered Feb 02 '26 12:02

Duygu Eroğlu