首页 > 解决方案 > 与 Dart 启动配置相关的问题

问题描述

我正在使用 ubuntu 并使用本教程中的这个结构来安装“https://dart.dev/get-dart”但是当运行一个简单的代码时我得到这个错误

" Set the 'program' value in your launch config (eg 'bin/main.dart') then launch again "

所以我在 lanuch.json 中添加了这一行

  "program": "bin/main.dart",

但我仍然有错误

Error when reading 'bin/main.dart': No such file or directory.

任何人都可以帮助我

标签: flutterdart

解决方案


推荐阅读