美文网首页
执行 flutter run 报错

执行 flutter run 报错

作者: 飞羽_ifeiyv | 来源:发表于2019-05-25 10:59 被阅读0次

报错信息:


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

相关文章

网友评论

      本文标题:执行 flutter run 报错

      本文链接:https://www.haomeiwen.com/subject/rfeazqtx.html