AndroidStudio 3.0 / Android Gradle plugin 3.0
To support API SDK < 24 add the following line to your app build.gradle
inside the android
block:
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
If your minSdkVersion is 24 or higher, then your issue will be resolved on its own, because VectorDrawables have full support starting with this API.
See Android Developers: Vector Drawables Backward Compatibility Solution for details.