Android – Enable support Library for vector drawables

Screenshot 20181128 123434

Open build.gradle(app level) and add: vectorDrawables.useSupportLibrary = true Now Sync project with Gradle Files Add the namespace to the root of the layout xmlns:app=”http://schemas.android.com/apk/res-auto” In the image tag, you have to use app:srcCompat app:srcCompat=”@drawable/myDrawable”     Android – Enable support Library for vector drawables

Android – Enable support Library for vector drawables Read More