I have defined some product flavors in my build.gradle. I am able to successfully build them using gradlew
.
I can\'t figure out how I do so from the Androi
You can Choose the flavor you want to run on device or emulator selecting from the BuildVariants panel
To generate all the apk of each flavor , you can run the Gradle build task and the files will appear in the folder yourmodule / build / ouputs / apk .
Build task can be run from the console or from the task pane Gradle