android.view.InflateException: Binary XML file line 2: 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 abilican
, 11 months ago
Binary XML file line 2: Error inflating class fragment
via Stack Overflow by user1478588
, 2 years ago
Binary XML file line #2: Error inflating class fragment
via Stack Overflow by sj8494
, 2 years ago
Binary XML file line #18: Error inflating class fragment
via Stack Overflow by leshka
, 2 years ago
Binary XML file line #4: Error inflating class fragment
via Stack Overflow by Android Stack
, 2 years ago
Binary XML file line #1: Error inflating class fragment
via Stack Overflow by Sameer Hussain
, 2 years ago
Binary XML file line #3: Error inflating class fragment
android.view.InflateException: Binary XML file line 2: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
at android.view.LayoutInflater.inflate(LayoutInflater.java:469)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)

Users with the same issue

2 times, 11 months ago
Once, 11 months 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.