【问题标题】:Codemagic static Pages: Skip publishing to my_app.codemagic.app: no static content was generatedCodemagic 静态页面:跳过发布到 my_app.codemagic.app:未生成静态内容
【发布时间】:2022-01-08 00:57:36
【问题描述】:

我正在尝试将我的 Flutter 应用程序的 Web 版本发布到 Codemagic 静态页面。我添加了一个子域名并启用了该复选框,但我在发布日志中得到了这一行:

Skip publishing to my_app.codemagic.app: no static content was generated

如果我尝试访问网页 https://my_app.codemagic.app 我会得到:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Details>No such object: codemagic-app/my_app/index.html</Details>
</Error>

【问题讨论】:

    标签: codemagic


    【解决方案1】:

    检查“Building Web”步骤是否生成文件并在没有任何警告的情况下完成。

    如果跳过了“构建 Web”步骤,可能您的存储库中没有 web 文件夹

    【讨论】:

      猜你喜欢
      • 2021-12-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-08
      • 2012-07-08
      • 1970-01-01
      • 2016-08-09
      • 1970-01-01
      相关资源
      最近更新 更多