Create multiple apk files with one project build in Android Studio

Viewed 8057

I have two flavors in my Android project, one works with test server and one with production. I store the URL inside a string resource, so I may access the correct URL based on a flavor that I choose for compilation. Usually I need to create multiple apk files during a day, each time for both servers.

Is there a way to create two apk files each time I run my project or build an apk from Build menu?

3 Answers
Related