【问题标题】:Command line upload of apk to google playstore命令行上传apk到google playstore
【发布时间】:2015-07-01 05:15:52
【问题描述】:

我使用 TeamCity 作为我的 CI 服务器。我想添加一个构建步骤,以便生成的 android 项目的签名 apk 应该自动上传到 google playstore。是否有任何可用的 API。是否有任何可用的终端命令。

我提到了API to automatically upload apk to Google Play?,但没有发现最近通过 API 或命令行上传的活动。请帮帮我。

【问题讨论】:

    标签: bash api google-play teamcity teamcity-9.0


    【解决方案1】:

    Gradle Android Publisher plugin 正是这样做的,正如您提到的问题中所解释的那样。公平警告:我创建了插件,所以可能还有其他人做类似的事情。当我创建它时,没有其他可用的东西。

    gradle androidPublish 将首先运行 gradle android 构建过程来构建一个发行版并签名(如果您配置了签名)APK,然后它将根据您的配置将其上传到 google play。

    有关如何配置插件的信息,请参阅其他问题或上面的链接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-05-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-12
      • 1970-01-01
      相关资源
      最近更新 更多