【发布时间】:2020-10-23 07:05:49
【问题描述】:
我无法启动我的颤振应用程序,这是我在尝试使用 debbug 和不使用 debbug 模式运行时收到的消息:
您的启动配置引用了一个不存在的程序。如果您在启动时遇到问题,请检查“.vscode/launch.json”文件中的“程序”字段。
我的 .json 默认文件:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Dart",
"program": "lib/main.dart",
"request": "launch",
"type": "dart"
}
]
我运行颤振医生:
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.6)
[√] VS Code (version 1.46.1)
[√] Connected device (1 available)
! Doctor found issues in 1 category.
并接受所有许可。
谢谢。
【问题讨论】:
标签: flutter