I want to make all apk files for release to all stores, so I have to use a productFlavor for each apk:
build.gradle
buildTypes {
release {
...
}
debug {
...
}
}
productFlavors {
red {
...
}
yellow {
...
}
}
outputs
appname_red_debug.apk
appname_red_release.apk
appname_yellow_debug.apk
appname_yellow_release.apk
and I know above codes can change apk's file name. But when I generate the signed apk, I have to choose only one productFlavor. This way, the result is only specific to that productFlavor.
: UPDATED
How can I make all apk files at once on commend line using assembleRelease? Is there anyone who knows about this?
