Issue
I downloaded an icon from google Material.io. while trying to build my project after integrating it, I ran into the error that says: Can't process attribute android:fillColor="@android:color/white"
Here is a screenshot:

Solution
Open the drawable you downloaded and replace android:fillColor="@android:color/white" with android:fillColor="#ffffff". In vector drawables the fillColor attribute must be set explicitly and not reference other resources
Answered By - user8959091
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.