How do I fix “No pubspec.yaml file found” in flutter?

后端 未结 23 1955
南方客
南方客 2021-02-07 02:46

I am using Windows 10 with VS Code, although I also tested it on PowerShell, and both produced the same result:

After creating a new flutter program, before editing anyt

23条回答
  •  星月不相逢
    2021-02-07 03:32

    Maybe you should check to see if the project directory you opened is correct. I had this problem because the project directory opened to the project's parent directory. You must ensure that the file exists in the project directory you have opened.

提交回复
热议问题