For some reason, individual buildType configurations do not support the resConfigs command, as you specify, but defaultConfig does, and then you can use this trick to manipulate it for each type of assembly, even if the settings are not configured:
android { defaultConfig { resConfigs "en" } applicationVariants.all { variant -> if (variant.buildType.name.equals("debug")) { variant.mergedFlavor.resourceConfigurations.add("de") } } }
source share