【问题标题】:"FAILURE: Build failed with an exception." pops up when trying to run flutter demo app“失败:构建失败并出现异常。”尝试运行颤振演示应用程序时弹出
【发布时间】:2020-09-28 13:21:48
【问题描述】:

我正试图进入颤振状态。使用 VS Code 并尝试运行示例应用程序时会弹出类似这样的内容

我在 android studio 上有一个手机模拟器,它可以启动,但在任何地方都找不到演示应用

【问题讨论】:

标签: android-studio flutter dart visual-studio-code


【解决方案1】:

在错误中间显示:

由于某些许可证未被接受,无法安装以下 android SDK 包。

如果您运行flutter doctor,它也应该检测到这一点,并在您运行flutter doctor --android-licenses 时提供帮助修复它们。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-03-04
    • 1970-01-01
    • 2022-08-22
    • 2021-01-18
    • 2020-05-09
    • 1970-01-01
    • 2021-01-12
    • 2021-01-05
    相关资源
    最近更新 更多