I have a lot of different flavors for my build that have specific resources and I don\'t want to clutter my src directory in my project with a bunch of flavor-specific direc
i had the same issue while working with android 3.5.3 and the above solution didn't work with me but i found that android studio cant link between the color and vector images my code in vector looked like that
when i changed @color/colorPrimary to the color code #F44336 it worked fine
i hope this helps