Generally speaking, there are two reasons for wanting to create customized versions, or flavors, of our applications:
- When we are creating versions for different form factors, such as a mobile phone and a tablet
- When we want two different versions of our app to be available in the Play store, such as paid and free versions
Both of these situations can be catered for by configuring our build files, and this can be done for both debug and release APKs. New flavors and build types can both be configured using their respective dialogs, which can be found under the Build menu:
As always, it is best to see how these ...