java.lang.RuntimeException: Unable to start activity ComponentInfo{snodnipper.testingvector/snodnipper.testingvector.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.v7.widget.AppCompatImageButton

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via google.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{snodnipper.testingvector/snodnipper.testingvector.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.v7.widget.AppCompatImageButton
via GitHub by Coletz
, 1 year ago
Unable to start activity ComponentInfo{com.company.app/com.theartofdev.edmodo.cropper.CropImageActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by Andrew
, 2 years ago
Unable to start activity ComponentInfo{com.example.android.demo/com.example.android.demo.MainActivity2}: android.view.InflateException: Binary XML file line #27: Error inflating class android.support.v7.internal.widget.ActionBarContainer
via Stack Overflow by Markus Olszewski
, 2 years ago
Unable to start activity ComponentInfo{com.stackoverflow.question/activities.MainActivity}: android.view.InflateException: Binary XML file line #158: Error inflating class android.support.v7.widget.RecyclerView
via Stack Overflow by Zac Powell
, 2 years ago
Unable to start activity ComponentInfo{com.zpwebsites.whatsintown/com.zpwebsites.whatsintown.MapsActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by Saggy
, 1 year ago
Unable to start activity ComponentInfo{com.drawer.sample/com.drawer.sample.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class android.support.v7.internal.widget.NativeActionModeAwareLayout
java.lang.RuntimeException: Unable to start activity ComponentInfo{snodnipper.testingvector/snodnipper.testingvector.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.v7.widget.AppCompatImageButton
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.initialParse(StringToReal.java:160)
at java.lang.StringToReal.parseFloat(StringToReal.java:323)
at java.lang.Float.parseFloat(Float.java:306)
at android.util.PathParser.getFloats(PathParser.java:178)
at android.util.PathParser.createNodesFromPathData(PathParser.java:59)
at android.graphics.drawable.VectorDrawable$VFullPath.updateStateFromTypedArray(VectorDrawable.java:1439)
at android.graphics.drawable.VectorDrawable$VFullPath.inflate(VectorDrawable.java:1421)
at android.graphics.drawable.VectorDrawable.inflateInternal(VectorDrawable.java:542)
at android.graphics.drawable.VectorDrawable.inflate(VectorDrawable.java:458)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1095)

Users with the same issue

10 times, 1 year ago
29833 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
30 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.