I have 11 flavors for an app and one Keystore for an app. I hoped to use one keystore to sign multiple product flavors like below.
signingConfigs {
release {
storeFile file("Users/avalon/retailr.jks")
storePassword storePassword
keyAlias "alias"
keyPassword keyPassword
}
}
...
...
productFlavors{
flavorone {
...
signingConfig signingConfigs.release
}
flavortwo {
...
signingConfig signingConfigs.release
}
}
However i keep getting an error during running a Configuration that The apk for your currently selected variant cannot be signed. Please specify a signing configuration for this variant (flavorone-release)
. Does that mean I have to make 11 different keystore configurations for the apps or is there a way i can use one ?