android.view.InflateException: Binary XML file line #8: Error inflating class android.widget.ImageButton

itguai.com | 9 months 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

    java.lang.NumberFormatException: Invalid int: "res/drawable-hdpi-v4/ic_action_share.png"

    Stack Overflow | 2 years ago | Maksim Diakonov
    android.view.InflateException: Binary XML file line #8: Error inflating class android.widget.ImageButton
  2. 0

    ActionBarSherlock & ShareActionProvider cause InflateException (Found cause, not solved)

    Stack Overflow | 4 years ago | CristianGuerrero
    android.view.InflateException: Binary XML file line #26: Error inflating class <unknown>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OnCreateOptionsMenu with ActionBarSherlock library

    Stack Overflow | 3 years ago | user3346237
    android.view.InflateException: Binary XML file line #29: Error inflating class <unknown>
  5. 0

    Calling Android DatePicker constructor when adding a DatePicker widget dynamically to the layout throws exception

    Stack Overflow | 4 years ago | Hamdi Baccara
    android.view.InflateException: Binary XML file line #81: Error inflating class android.widget.CalendarView

  1. justCodeit 16 times, last 2 months ago
  2. Ranjana Dangol 6 times, last 11 months ago
  3. dmitry 2 times, last 12 months ago
  4. jk 1 times, last 1 year ago
  5. filpgame 8 times, last 5 months ago
3 more registered users
16 unregistered visitors
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. android.view.InflateException

    Binary XML file line #8: Error inflating class android.widget.ImageButton

    at android.view.LayoutInflater.createView()
  2. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:613)
    1 frame
  3. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    5 frames
  5. Android
    ActionBarImpl.setCustomView
    1. com.android.internal.app.ActionBarImpl.setCustomView(ActionBarImpl.java:330)
    1 frame