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

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

Samebug tips

,
via Stack Overflow by user3256145

Your xml configuration is invalid. Check it with an xml validator.

Solutions on the web

via Stack Overflow by Maksim Diakonov
, 2 years ago
Binary XML file line #8: Error inflating class android.widget.ImageButton
via Stack Overflow by rekire
, 1 year ago
Binary XML file line #60: Error inflating class android.widget.ImageButton
via Stack Overflow by wiradikusuma
, 1 year ago
Binary XML file line #7: Error inflating class android.widget.ImageView
via Stack Overflow by Paddy1990
, 2 years ago
Binary XML file line #8: Error inflating class <unknown>
via Stack Overflow by An-droid
, 2 years ago
Binary XML file line #7: Error inflating class android.widget.ImageView
android.view.InflateException: Binary XML file line #8: Error inflating class android.widget.ImageButton
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
16 times, 8 months ago

Write tip

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