【问题标题】:Flutter: Error: Error when reading '-': The system cannot find the file specifiedFlutter: Error: Error when reading '-': 系统找不到指定的文件
【发布时间】:2020-09-20 07:50:42
【问题描述】:

我已经添加了所有的路径环境变量,flutter doctor 命令没有报错。但是,当我尝试在项目中运行命令 Flutter Run 时,出现以下错误:

我已正确添加所有路径变量。如果我尝试在 Android Studio 中运行这个项目,我会遇到同样的错误。

【问题讨论】:

    标签: flutter


    【解决方案1】:

    原来我的项目嵌套很深。所以最好把你的项目放在外面。之后就可以了。

    【讨论】:

      猜你喜欢
      • 2019-08-09
      • 2013-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-11
      • 2013-11-21
      • 2016-08-09
      • 2016-02-13
      相关资源
      最近更新 更多