Reputation: 25876
If I create Android Application
debug configuration and will use it, then everything is ok and IntelliJ IDEA by default uses debug
build type from build.gradle.
But I want to debug specific build variant (flavor and build type). For example, flavor name is Cabby
and build type if mock
. I create debug configuration like this:
Then I start debugging this configuration. Gradle tasks assembleCabbyMock
and installCabbyMock
are successfully executed and then I see this:
Upvotes: 12
Views: 5026
Reputation: 25876
There is Build Variants
tool window under View->Tool Windows
where you can choose build variant.
Also there is Build Variants
docked view on the lower left side of IntelliJ IDEA window.
Upvotes: 27