build.gradle is like this
android {
defaultConfig {
...
flavorDimensions "app", "type"
...
}
...
productFlavors {
app1 {
...
}
app2 {
...
}
production {
...
}
internal {
...
}
}
...
}
Android Extensions not recognize ‘src/app1Internal/res’