报错信息:
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.
解决方法(针对其中一种情况,不是绝对):
//执行命令创建自己测试项目
1. flutter create myapp
//cd到创建项目中
2. cd myapp
//执行 flutter run命令
3. flutter run
网友评论