【发布时间】:2018-09-06 14:26:49
【问题描述】:
如何解决这个错误 ->
当我运行flutter run 命令时,它会出现以下错误。
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
即使flutter doctor -v 也不会显示任何错误。
该错误的屏幕截图:
【问题讨论】:
-
Ankit目录确实包含pubspec.yaml? -
Do not post images of code or errors! 图片和屏幕截图可以很好地添加到帖子中,但请确保帖子在没有它们的情况下仍然清晰且有用。如果您发布代码或错误消息的图像,请确保您还复制并粘贴或直接在帖子中输入实际代码/消息。