Command line upload of apk to google playstore

牧云@^-^@ 提交于 2019-12-24 04:53:09

问题


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.

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.


回答1:


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 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.



来源:https://stackoverflow.com/questions/29816342/command-line-upload-of-apk-to-google-playstore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!