Reputation: 13652
I have a project with two flavors and decided to add a third. However with the third flavor I am experiencing some problems.
My res file is not defined as an Android resource file, and consequently my layout xml files are not rendered.
You can see the file res file for flavor len does not have the yellow mark on the bottom right like the one for en.
When I right click on the en-res folder I see the create resource file, however I do not see this for my len-res folder.
Is there a way I can tell studio my folder is a resource folder ?
I am running 0.3.7 on Windows
productFlavors {
de {
packageName 'org.rh.ellierides.de'
}
en {
packageName 'org.rh.ellierides'
}
len {
packageName 'org.rh.ellierides.en.lite'
}
Upvotes: 4
Views: 3075
Reputation: 13652
I resolved this by changing the build variant to the specific one which was causing me problems in my case len
Once I built this flavor the project self corrected.
Upvotes: 2