python - Build (not develop) your android app .apk (gradle build) on server? -


i'm trying build(not develop) android application on server. i've whole native android code on server, need build according modification done on server.

i've been looking on internet couldn't find detailed solution. got know might need jenkins or ci tool (which think time consuming i'll need them installed on server , android dependencies).

initial idea build .apk file via python script contains gradle commands in it.

how can this?

android apps can built on system doesn't have android tools installed applying android sdk manager plugin gradle project.

when running ./gradlew assembledebug (or whatever task), gradle installed , android dependencies, including sdk tools, build tools, platform versions , other dependencies installed automatically.

you can run on command line yourself, or automate run after every commits source control jenkins (it's easy install on wide range of operating systems).


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -