Can't process attribute android:fillColor="@android:color/white"

Ojay picture Ojay · Jul 13, 2018 · Viewed 14.4k times · Source

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: Can't process attribute android:fillColor="@android:color/white"

Answer

Bhavesh Moradiya picture Bhavesh Moradiya · Dec 19, 2018

In the app build.gradle add the following line within the android section:

defaultConfig{
    vectorDrawables.useSupportLibrary = true
}

Check This For Further Detail :Vector drawables overview