android.view.InflateException: Binary XML file line #21: Error inflating class android.view.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 GitHub by c1024
, 1 year ago
Binary XML file line #21: Error inflating class android.view.View
via Stack Overflow by Pedro Malta
, 2 years ago
Binary XML file line #31: Error inflating class android.view.WebCachedImageView
via GitHub by dsample
, 2 years ago
Binary XML file line #11: Error inflating class android.view.View
via GitHub by bperin
, 1 year ago
Binary XML file line #17: Error inflating class android.widget.TextView
via Stack Overflow by ethe
, 2 years ago
Binary XML file line #26: Error inflating class android.view.View
via GitHub by xWOLKx
, 2 years ago
Binary XML file line #9: Error inflating class <unknown>
android.view.InflateException: Binary XML file line #21: Error inflating class android.view.View
at android.view.LayoutInflater.failNotAllowed(LayoutInflater.java:637)
at android.view.LayoutInflater.createView(LayoutInflater.java:586)

Users with the same issue

Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
19 more bugmates

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