java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.xfumihiro.view_inspector.sample/viewinspector.sample.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.widget.ImageButton

GitHub | kissazi2 | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    VectorDrawable causes the crash on pre-Lollipop

    GitHub | 1 year ago | kissazi2
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.xfumihiro.view_inspector.sample/viewinspector.sample.MainActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.widget.ImageButton
  2. 0

    AndroidBlogger: How to have a tiled background ( cont.)

    blogspot.com | 1 year ago
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: requires a valid src attribute
  3. 0

    Exception while inflating <vector>

    GitHub | 11 months ago | winsontan520
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ryanbrooks.expandablerecyclerviewsample/com.ryanbrooks.expandablerecyclerviewsample.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Eduvm 4 times, last 9 months ago
  2. Nisha Singh 120 times, last 10 months ago

Root Cause Analysis

  1. org.xmlpull.v1.XmlPullParserException

    Binary XML file line #2: invalid drawable tag vector

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    Drawable.createFromXmlInner
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:935)
    1 frame