Using Vector Drawable Compat

In your module build.gradle file, you need to add this line:

apply plugin: 'com.android.application'

android {
    ...

    defaultConfig {
        ...

        vectorDrawables.useSupportLibrary = true // This line here
    }
    ...
}

...

Leave a Comment