android.view.InflateException: Binary XML file line #40: Binary XML file line #40: Error inflating class fragment

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

Solutions on the web

via Stack Overflow by Volodymyr
, 1 year ago
Binary XML file line #40: Binary XML file line #40: Error inflating class fragment
via Stack Overflow by Pritom Mazumdar
, 2 months ago
Binary XML file line #0: Failed to resolve attribute at index 6: TypedValue{t=0x3/d=0x6db "res/drawable-xxhdpi-v4/ic_dots.png" a=4 r=0x7f080080} I thought the error was maybe because I put the wrong icon in the wrong folder so I tried to put all the
via GitHub by apo1981
, 1 year ago
Binary XML file line #44: Binary XML file line #44: Error inflating class android.support.design.widget.FloatingActionButton
via Stack Overflow by Manish Kumar
, 1 year ago
Binary XML file line #19: Failed to resolve attribute at index 6: TypedValue{t=0x1c/d=0xff33b5e5 a=1 r=0x1060012}
via Stack Overflow by Chris Chevalier
, 9 months ago
Binary XML file line #166: Binary XML file line #166: Error inflating class fragment
via Stack Overflow by Siddhpura Amit
, 9 months ago
Binary XML file line #1: Binary XML file line #1: Error inflating class <unknown>
android.view.InflateException: Binary XML file line #40: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)

Users with the same issue

2 times, 1 year ago
Once, 1 year ago
3 times, 1 year ago
4 times, 1 year ago
4 times, 1 year ago

Write tip

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