Android Studio is returning this error when I add images to my project, but the selected images are the IDE's native icons.
You can put this value as default in your build.gradle:
defaultConfig{
vectorDrawables.useSupportLibrary = true
}
and also places the appcompact on dependencies:
dependencies {
compile 'com.android.support:appcompat-v7:26.1.0'
}