在我将Flutter更新到v1.22之后,使用build_runner的代码生成不起作用。有人告诉我在这个版本中应该使用的正确命令是:但是,我收到以下错误:
Couldnot find a file named "pubspec.yaml" in "C:\Users\jpiab\AppData\Roaming\
我使用flutter create创建了一个新的flutter项目。pubspec.yaml的路径为D:\dev\flutter\example\ 但是当我在我的项目中运行flutter run时,它给出了一个错误:pubspec.yaml not found in D:\dev\flutter\ 为什么flutterpub get在我