I\'ve an android project with multiple flavors that I\'m working on.
This works fine and I can customize elements of the app such as colors and string resources.
Just FYI in case anyone is looking for an easy way to do this going forward.
In your manifest, update your theme to something like this...
android:theme="${appTheme}"
Then in your app.gradle do something like this...
productFlavors {
flavorA{
manifestPlaceholders = [appTheme: "@style/AppThemeA"]
}
flavorB{
manifestPlaceholders = [appTheme: "@style/AppThemeB"]
}
}
Then you can use whatever styles you want there and they will tie to the flavor selected.