sivag1
sivag1

Reputation: 5004

In Android Studio, how to run a specific Build Variant?

I am using multiple build variants in my Gradle using flavorDimensions.

When debugging, how do I choose which variant is run when using Android Studio run?

Upvotes: 2

Views: 2113

Answers (1)

sivag1
sivag1

Reputation: 5004

Android Studio has a View simply called as "Build Variants". It is generally along with "1:Project" and "7:Structure" views. Pressing that lets us choose which build variant needs to be executed when running the app.

Upvotes: 8

Related Questions