debugging - How to debug specific build variant of Android Gradle project in IntelliJ IDEA? -
if create android application debug configuration , use it, ok , intellij idea default uses debug build type build.gradle. want debug specific build variant (flavor , build type). example, flavor name cabby , build type if mock. create debug configuration this:

then start debugging configuration. gradle tasks assemblecabbymock , installcabbymock executed , see this:

there build variants tool window under view->tool windows can choose build variant.
also there build variants docked view on lower left side of intellij idea window.
Comments
Post a Comment