问题描述
我使用的TeamCity我的CI服务器。我想补充一个构建步骤,使得一个机器人项目的生成APK签订应上载到谷歌自动Play商店中。是否有可用于相同的API。是否有任何终端命令可用于相同。
I am using TeamCity as my CI server. I want to add a build step such that the generated signed apk of an android project should get uploaded to google playstore automatically. Are there any API available for the same. Is there any terminal commands available for the same.
我提到API自动上传到APK谷歌玩?但发现通过API或命令行上载最近没有任何活动。请帮助我。
I referred API to automatically upload apk to Google Play? but found no recent activity on uploading via API or command line. Please help me out.
推荐答案
借助正是这么做的,在这个问题解释你提到。公平的警告:我创建的插件,所以有可能是别人在那里,做类似的事情。当我创造了它,没有别的是可用的。
The Gradle Android Publisher plugin does exactly that, as explained in the question you referred to. Fair warning: I created the plugin, so there may be others out there that do something similar. When I created it, nothing else was available.
gradle这个androidPublish
将首先运行gradle这个Android的构建过程中建立一个版本,并签署(如果配置签名)APK,那么它将需要上传一个谷歌的护理Play根据您的配置。
gradle androidPublish
will first run the gradle android build process to build a release and signed (if you configured signing) APK, then it will take care of uploading that to google play based on your configuration.
请参阅其他的问题或以上关于如何配置插件的信息的链接。
See the other question or the link above for information on how to configure the plugin.
这篇关于APK谷歌Play商店中的命令行上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!