From the course: Distributing Your Android App for Kotlin Developers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Configure multiple app flavors

Configure multiple app flavors - Android Tutorial

From the course: Distributing Your Android App for Kotlin Developers

Start my 1-month free trial

Configure multiple app flavors

- [Instructor] Application build types are combined with flavors to make up your final list of built variants. But wait, we don't have any flavors to find yet, or do we? The default config is actually considered a product flavor. So yes, we do have one flavor. Let's define a couple more so that we can create a free and a paid version of a sample app. In the project structured dialogue, I already have it open, but if you don't, go to file project structure or press CTRL Alt Shift S, go to the build variant section on the left and make sure the base module is selected app and then go to the Flavors tab. It doesn't look like we have any flavors, but this is because there is only the one default config. Default config used to show up here in older versions of Android Studio. But it has since been moved to the module section. We want to start by creating a flavor dimension, click the…

Contents