android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.design.internal.NavigationMenuItemView

Stack Overflow | kformeck | 4 months ago
  1. 0

    InflateException thrown when setting id on a FloatingActionButton

    Stack Overflow | 4 months ago | kformeck
    android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.design.internal.NavigationMenuItemView
  2. 0

    DrawerLayout, NavigationView, and android:Theme.Material.Light not compatible?

    Stack Overflow | 6 months ago | SKOlson
    android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.internal.NavigationMenuItemView
  3. 0

    App crash while using TabLayout with design API 23.1.0+

    Stack Overflow | 1 year ago | stud91
    android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class android.support.design.widget.TabLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android : error inflating class YouTubePlayerView

    Stack Overflow | 12 months ago | Chintan Soni
    android.view.InflateException: Binary XML file line #79: Binary XML file line #79: Error inflating class com.google.android.youtube.player.YouTubePlayerView
  6. 0

    android.view.InflateException when using selectableItemBackground - Stack Overflow

    stackover.in | 12 months ago
    android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class <unknown>
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 #17: Binary XML file line #17: Error inflating class android.support.design.internal.NavigationMenuItemView

    at android.view.LayoutInflater.inflate()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.inflate(LayoutInflater.java:539)
    2. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    2 frames
  3. android.support.design
    NavigationMenuPresenter$NavigationMenuAdapter.onCreateViewHolder
    1. android.support.design.internal.NavigationMenuPresenter$NormalViewHolder.<init>(NavigationMenuPresenter.java:278)
    2. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.onCreateViewHolder(NavigationMenuPresenter.java:379)
    3. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.onCreateViewHolder(NavigationMenuPresenter.java:328)
    3 frames
  4. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
    8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
    10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
    10 frames
  5. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16646)
    2. android.view.ViewGroup.layout(ViewGroup.java:5440)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16646)
    6. android.view.ViewGroup.layout(ViewGroup.java:5440)
    6 frames
  6. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1211)
    1 frame
  7. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16646)
    2. android.view.ViewGroup.layout(ViewGroup.java:5440)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16646)
    6. android.view.ViewGroup.layout(ViewGroup.java:5440)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    10. android.view.View.layout(View.java:16646)
    11. android.view.ViewGroup.layout(ViewGroup.java:5440)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    14. android.view.View.layout(View.java:16646)
    15. android.view.ViewGroup.layout(ViewGroup.java:5440)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    19. android.view.View.layout(View.java:16646)
    20. android.view.ViewGroup.layout(ViewGroup.java:5440)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    22 frames
  8. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
    1 frame
  9. Android Platform
    Choreographer.doFrame
    1. android.view.View.layout(View.java:16646)
    2. android.view.ViewGroup.layout(ViewGroup.java:5440)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2183)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1943)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    9. android.view.Choreographer.doFrame(Choreographer.java:606)
    9 frames