android.view.InflateException: Binary XML file line #9: 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 GitHub by machei
, 1 year ago
Binary XML file line #9: Error inflating class fragment
via youtube.com by Unknown author, 2 years ago
via Stack Overflow by Harsha
, 2 years ago
Binary XML file line #74: Error inflating class fragment
via Stack Overflow by giannisf
, 2 years ago
Binary XML file line #19: Error inflating class fragment
via Stack Overflow by Unknown author, 2 years ago
Binary XML file line #19: Error inflating class fragment
via Stack Overflow by Mike
, 2 years ago
Binary XML file line #7: Error inflating class fragment
java.lang.IllegalArgumentException: Binary XML file line #9: Duplicate id 0x7f0d0070, tag null, or parent id 0x7f0d006f with another fragment for com.google.android.youtube.player.YouTubePlayerFragment
at android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2120)
at android.app.Activity.onCreateView(Activity.java:5328)

Users with the same issue

30 times, 1 year ago
11 times, 1 year ago

Write tip

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