I am facing android.view.InflateException
in my app for some particular devices, in others phone it works fine. But i don\'t know why. Many others says that this pr
Make sure you have added vectorDrawables.useSupportLibrary = true
inside defaultConfig
in app/build.gradle
.
Like
defaultConfig {
vectorDrawables.useSupportLibrary = true
....
}
EDIT 1
In order to support vector
in API less then 21. Also add this in onCreate
method of Activity before setContentView
.
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);