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

后端 未结 23 1919
南方客
南方客 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:10

    You should run it in the project folder. For Example: the project folder is named "first_app" and it is located in Documents, so the first go to Documents(cd Documents) then enter your project folder(cd first_app) and then run the command "flutter run".

    MacBook-Pro-5:first_app username$ flutter run

提交回复
热议问题