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

GitHub | machei | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 64#250723981

    GitHub | 6 months ago | machei
    android.view.InflateException: Binary XML file line #9: Error inflating class fragment
  2. 0

    support library issue? android.view.InflateException:line #-1 (sorry, not yet implemented): Error inflating class <unknown>

    GitHub | 3 years ago | loeschg
    android.view.InflateException: XML file /android_vendors/VendorSearch/build/intermediates/res/staging/debug/layout/activity_intro.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>
  3. 0

    Specific Binary XML file line #133 exception while inflating fragment class

    Stack Overflow | 3 years ago | user2991135
    android.view.InflateException: Binary XML file line #133: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how can i integrating the amazon ads in my android app

    Stack Overflow | 2 years ago | user3797149
    android.view.InflateException: Binary XML file line #11: Error inflating class com.amazon.device.ads.AdLayout
  6. 0

    Android Studio cannot inflate MapFragment

    Stack Overflow | 2 years ago | sebastien
    android.view.InflateException: Binary XML file line #5: Error inflating class fragment

  1. rp 1 times, last 3 months ago
  2. Agócs Tamás 3 times, last 9 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    LayoutInflater.createViewFromTag
    1. android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2120)
    2. android.app.Activity.onCreateView(Activity.java:5328)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:733)
    3 frames