I have a project that will have many flavors. What do to or how can i build all flavors variants at once? Or at least one by one .... me just hit one time "run"
productFlavors
{
Svone
{
applicationId "xx.xxx.xxxx.svone"
resValue "string", "app_name", "Svone"
}
Svtwo
{
applicationId "xx.xxx.xxxx.svtwo"
resValue "string", "app_name", "Svtwo"
}
}
in my gradle file i have signingConfigs and all my flavors should use the same *.jks
Thanks
Yes
you can use command line
./gradlew build
Or using gradle menu in android studio app -> Tasks -> build -> build
it will generate all apks in app/build/outputs/apk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With