build failing during merge resources with Android Gradle plugin 3.3.0

前端 未结 12 1418
不知归路
不知归路 2020-11-30 01:25

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

12条回答
  •  野性不改
    2020-11-30 01:55

    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

提交回复
热议问题