android.view.InflateException: Binary XML file line #8: Error inflating class null

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

    How to fix android.view.InflateException: Binary XML file line

    Stack Overflow | 6 months ago | Neelay Srivastava
    android.view.InflateException: Binary XML file line #8: Error inflating class null
  2. 0

    Android Studio : Project successfuly compiled but can't acces Google Play Services on device

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

    getting error on navigation drawer

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

    Automated exception search integrated into your IDE

  5. 0

    Android - SupportMapFragment error when openning for second time

    Stack Overflow | 4 years ago | Vijay
    android.view.InflateException: Binary XML file line #48: Error inflating class fragment
  6. 0

    Exception when inflating a layout containing fragments

    Stack Overflow | 4 years ago | Dobbo
    android.view.InflateException: 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. android.view.InflateException

    Binary XML file line #8: Error inflating class null

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    4 frames
  3. com.example.neelay
    Songs.onCreateView
    1. com.example.neelay.beatbox.Fragment.Songs.onCreateView(Songs.java:27)
    1 frame
  4. Android Support v4
    FragmentPagerAdapter.finishUpdate
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
    5. android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1632)
    6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:637)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
    7 frames
  5. com.antonyt.infiniteviewpager
    InfinitePagerAdapter.finishUpdate
    1. com.antonyt.infiniteviewpager.InfinitePagerAdapter.finishUpdate(InfinitePagerAdapter.java:67)
    1 frame
  6. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.view.ViewPager.populate(ViewPager.java:1237)
    2. android.support.v4.view.ViewPager.populate(ViewPager.java:1085)
    3. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1611)
    3 frames
  7. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:15356)
    2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:622)
    3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:404)
    4. android.view.View.measure(View.java:15356)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    5 frames
  8. android.support.design
    CoordinatorLayout.onMeasure
    1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:671)
    2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:738)
    2 frames
  9. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15356)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    3 frames
  10. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  11. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15356)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1457)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:723)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:583)
    6. android.view.View.measure(View.java:15356)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    9. android.view.View.measure(View.java:15356)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1457)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:723)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:583)
    14. android.view.View.measure(View.java:15356)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4928)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    16 frames
  12. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2148)
    1 frame
  13. Android Platform
    Handler.dispatchMessage
    1. android.view.View.measure(View.java:15356)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1858)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1110)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1283)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1008)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4222)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:555)
    9. android.view.Choreographer.doFrame(Choreographer.java:525)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
    11. android.os.Handler.handleCallback(Handler.java:615)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    12 frames