I want to create a system where a user does sign in to my website and then gets a link to download apk for my android app. Inside the app there is a final string containing username by which the server recognises the app. For this purpose I want my server to compile a fresh apk with the username inside for each user. I have no idea how to achieve this please help.
edit- basically the problem comes down to this, is there any way to compress certain file into .rar programmatically . And which language should i use for this.
Extracted from Documentation
The following diagram depicts the components involved in building and running an application:
More details: Building Your Project with Gradle