Programmatically Build .apk File of Unity Project

Hi everyone!

My team and I are working on a project that has a user run the project on their desktop, they enter some text, and then they can push a button that builds the .apk file for them. We know that we can manually build the file (ala File->Build Settings…). We’re just a bit stuck on the programmatic file building. Is there a way to automate .apk building, to do it programmatically?

Thanks in advance (and my apologies if this question has been asked/answered before on here… we’re Unity newbies)!

Check out cmd line arguments