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

Stack Overflow | LBJ33 | 8 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

    Tablayout, app crashes when switching tabs - Error inflating class fragment

    Stack Overflow | 8 months ago | LBJ33
    android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class fragment
  2. 0

    Android App is crashing Tabs and Google Maps

    Stack Overflow | 2 years ago | Varun
    android.view.InflateException: Binary XML file line #8: Error inflating class fragment
  3. 0

    android printing : Android App is crashing

    blogspot.com | 2 years ago
    android.view.InflateException: Binary XML file line #8: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InflateException when adding a third page to my FragmentPagerAdapter?

    Stack Overflow | 1 year ago | BadCash
    android.view.InflateException: Binary XML file line #9: Error inflating class fragment
  6. 0

    GitHub comment 229#184024127

    GitHub | 1 year ago | KeithYokoma
    android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class fragment
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 #18: Duplicate id 0x7f0d006d, tag null, or parent id 0x7f0d006a with another fragment for com.bestworkouts.sheikoworkout.NavigationDrawerFragment

    at android.support.v4.app.FragmentManagerImpl.onCreateView()
  2. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2293)
    2. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    2 frames
  3. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:192)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:758)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
    5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
    6. android.view.LayoutInflater.rInflate(LayoutInflater.java:855)
    7. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:527)
    9. android.view.LayoutInflater.inflate(LayoutInflater.java:429)
    9 frames
  4. com.bestworkouts.sheikoworkout
    WorkoutDetailFragment.onCreateView
    1. com.bestworkouts.sheikoworkout.WorkoutDetailFragment.onCreateView(WorkoutDetailFragment.java:34)
    1 frame
  5. Android Support v4
    ViewPager.setCurrentItem
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    3. android.support.v4.app.FragmentManagerImpl.attachFragment(FragmentManager.java:1430)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:732)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
    6. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1177)
    9. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:608)
    10. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:570)
    11. android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:551)
    11 frames
  6. android.support.design
    TabLayout$TabView.performClick
    1. android.support.design.widget.TabLayout$ViewPagerOnTabSelectedListener.onTabSelected(TabLayout.java:2008)
    2. android.support.design.widget.TabLayout.selectTab(TabLayout.java:1025)
    3. android.support.design.widget.TabLayout.selectTab(TabLayout.java:995)
    4. android.support.design.widget.TabLayout$Tab.select(TabLayout.java:1272)
    5. android.support.design.widget.TabLayout$TabView.performClick(TabLayout.java:1377)
    5 frames
  7. Android Platform
    ActivityThread.main
    1. android.view.View$PerformClick.run(View.java:22526)
    2. android.os.Handler.handleCallback(Handler.java:739)
    3. android.os.Handler.dispatchMessage(Handler.java:95)
    4. android.os.Looper.loop(Looper.java:158)
    5. android.app.ActivityThread.main(ActivityThread.java:7229)
    5 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames