首页 > 解决方案 > Flutter 应用程序未在任何编辑器上运行

问题描述

我试图在颤振中运行一个应用程序,但它一直向我显示这个错误。与其他编辑器(如 vs code 和 Intellij Idea)中的所有其他应用程序相同。我不知道它是怎么出现的。它只是突然出现。

The system cannot find the path specified.
The system cannot find the file specified.
The system cannot find the path specified.
The system cannot find the path specified.
Running "flutter pub get" in basic_login_app...
The system cannot find the path specified.
The system cannot find the path specified.
pub get failed (1; The system cannot find the path specified.)

标签: androidflutter

解决方案


是否将 Flutter SDK 添加到环境变量中?

运行“哪个颤动”

跑“扑医生”

运行“flutter pub get”是如果您使用的是颤振包并且您希望将其包含在您的项目中。您是否将其包含在您的pubspec.yaml文件中?


推荐阅读