Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Publish app use ant script

Do we have api to publish app not from Publisher Console Web? E.g. I have a nightly build system (using ant) and I would like to have it publish the app automatically for me.

like image 319
Tran Hoang Duy Anh Avatar asked Mar 16 '26 13:03

Tran Hoang Duy Anh


1 Answers

Hello Tran Hoang Duy Anh

As it seems, there is no comfortable way to publish automagically. Right now I am writing my Bachelor Thesis researching a way to have some way of automation. The title is: "Continuous Delivery for Android Apps" (in german). My approach after asking the big Internet and finding nothing appropriate is, using Selenium Webdriver as a base for my work, which is a Testing framework for Browser automation etc. You have to filter "clickables" via using XPath and you'll get behind what I mean.

What I do right now is to create a piece of Java software, which will be acting as a Jenkins or Maven servant. I am creating now an API to control this Google Developer "Pseudo" Console. This will do the job for me to publish even nightly builds.

For I am not sure, if there isn't truly no solution in the wild, but this means you have to create your own API right now - perhaps using Webdriver as one way to communicate and control the PlayStore.

I hope this helps you a bit. But be warned, if Google decides to change their Layout, your Tool would be broken, this is quite too tightly coupled, but maybe I'll find a better solution. ;-)

Best regards, Semo

like image 184
Semo Avatar answered Mar 18 '26 01:03

Semo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!