org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: <item> tag requires a 'drawable' attribute or child tag defining a drawable

GitHub | wenmingvs | 4 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-08-18 23:01:12:28

    GitHub | 4 months ago | wenmingvs
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: <item> tag requires a 'drawable' attribute or child tag defining a drawable
  2. 0

    How to create a selector of items that are XML drawables?

    Stack Overflow | 4 years ago | Salsero69
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: &lt;item&gt; tag requires a 'drawable' attribute or child tag defining a drawable
  3. 0

    Unable to resolve drawable

    Stack Overflow | 5 years ago | Jodron
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: &lt;item&gt; tag requires a 'drawable' attribute or child tag defining a drawable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    selector not picking drawable value with ques mark, like "?ic_submit"

    Stack Overflow | 3 years ago | collin
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: &lt;item&gt; tag requires a 'drawable' attribute or child tag defining a drawable
  6. 0

    Failed to parse XML file for android

    Stack Overflow | 5 years ago | Paige Reese
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: &lt;item&gt; tag requires a 'drawable' attribute or child tag defining a drawable

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      Binary XML file line #4: <item> tag requires a 'drawable' attribute or child tag defining a drawable

      at android.graphics.drawable.StateListDrawable.inflateChildElements()
    2. Android Platform
      LinearLayout.<init>
      1. android.graphics.drawable.StateListDrawable.inflateChildElements(StateListDrawable.java:182)
      2. android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:115)
      3. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:2549)
      4. android.graphics.drawable.Drawable.createFromXml(Drawable.java:2320)
      5. android.content.res.Resources.loadDrawableForCookie(Resources.java:4206)
      6. android.content.res.Resources.loadDrawable(Resources.java:4085)
      7. android.content.res.Resources.loadDrawable(Resources.java:3935)
      8. android.content.res.TypedArray.getDrawable(TypedArray.java:886)
      9. android.content.res.XResources$XTypedArray.getDrawable(XResources.java:1375)
      10. android.view.View.<init>(View.java:4225)
      11. android.view.ViewGroup.<init>(ViewGroup.java:589)
      12. android.widget.LinearLayout.<init>(LinearLayout.java:202)
      13. android.widget.LinearLayout.<init>(LinearLayout.java:198)
      14. android.widget.LinearLayout.<init>(LinearLayout.java:194)
      14 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      1 frame
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:631)
      1 frame
    5. Android
      PhoneLayoutInflater.onCreateView
      1. com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
      1 frame
    6. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:706)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774)
      3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
      5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:527)
      6 frames
    7. XposedBridge
      XposedBridge.handleHookedMethod
      1. de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
      2. de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:749)
      2 frames