android.view.InflateException: Binary XML file line #54: Error inflating class ...View

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 Rui
, 2 years ago
Binary XML file line #16: Error inflating class com.mycompany.controlslib.view.ListExpanded
via xamarin.com by Unknown author, 1 year ago
Binary XML file line #1: Error inflating class com.google.android.gms.ads.AdView
via GitHub by liusiqi43
, 2 years ago
Binary XML file line #7: Error inflating class com.doomonafireball.betterpickers.hmspicker.HmsPicker
via Stack Overflow by user2589054
, 2 years ago
Binary XML file line #8: Error inflating class net.simonvt.numberpicker.NumberPicker
via Stack Overflow by minhaz
, 1 year ago
Binary XML file line #17: Error inflating class <unknown>
android.view.InflateException: Binary XML file line #54: Error inflating class ...View
at android.view.LayoutInflater.createView(LayoutInflater.java:623)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:699)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:400)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)

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
4 times, 2 months ago

Write tip

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