I have a project with two friends, where we are building an app. We use Azure DevOps for downloading and uploading our changes and VS Code for writing the code. Whenever I run the main.dart file it says:
Set the 'program' value in your launch config (eg 'bin/main.dart') then launch again
So I set the program value in the launch.json file do bin/main.dart. I also saw some people with the same problem, that changed it to lib/main.dart. In my project it is in a lib folder, but I tried both anyway. Both gives the same result:
ProcessException: No such file or directory...
and
Your launch config references a program that does not exist. If you have problems launching, check the "program" field in your ".vscode/launch.json" file.
Does anyone know what to do ?
Some people also deleted the .vscode folder and the launch.json file within. I did the same, however it still pops up when I run the file.
I also tried to create a new launch.json file, that didn't change anything neither.
There's no problem with flutter itself. I ran the flutter doctor multiple times and everything is working.
That's how it is at the moment: [1]: https://i.stack.imgur.com/2F5kE.png