Ask Your Question
3

What does it mean when "launch.json" is missing the configuration for "Flutter" after updating Dart?

asked 2023-04-01 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-13 02:00:00 +0000

devzero gravatar image

It means that the configuration for running Flutter has been removed or lost during the update process. You will need to add the configuration again to the launch.json file in order to run Flutter applications.

To add the configuration, follow these steps in VSCode:

  1. Open the command palette by pressing Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac).
  2. Type in "Flutter: New Project" and select the option from the dropdown menu.
  3. Choose a project name and location for the new project.
  4. Open the newly created project folder in VSCode.
  5. Open the "launch.json" file by clicking on the debug icon in the left sidebar and selecting "Debug and Run" from the dropdown menu.
  6. If the "Flutter" configuration is missing, click on the "Add Configuration" button and select "Flutter" from the list.
  7. Save the changes to the "launch.json" file.

Once you have added the "Flutter" configuration to the "launch.json" file, you should be able to run Flutter applications again.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-04-01 11:00:00 +0000

Seen: 11 times

Last updated: Aug 13 '21