You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

未指定channel时,如何为EAS构建的应用执行OTA更新?

问题:未指定channel的production构建已上架,无法进行OTA更新

背景

我的eas.json里的构建配置如下:

"build": {
   "production": {}
}

我用这条命令构建了Android应用:

eas build -p android --profile production

构建完成后,应用的Release Channel被自动设为default。现在我没办法给这个已上架的应用做空中(OTA)更新。

试过的无效方法

  • 直接更新default分支:
    eas update --branch default --message "first update"
    
  • 在eas.json中新增default构建配置,指定channel为default:
    "build": {
      "default": {
        "channel": "default",
      }
    }
    
  • 将default频道关联到staging分支后更新该分支:
    eas channel:edit default --branch staging
    eas update --branch staging --message "first update"
    

核心需求

我知道可以新建指定channel的构建,但现在必须给已经上架的这个版本做OTA更新,紧急修复BUG,等不及新版本上架流程。

内容的提问来源于stack exchange,提问作者dan dan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.11 01:05:53