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:

cabby mock gradle debug configuration

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

enter image description here

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

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

c++ - Problems with pointers char **words; -