android.view.InflateException: Binary XML file line #25: Error inflating class <unknown>

Stack Overflow | NonGrate | 7 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

    PreferenceCategory class can not be found on pre-lollipop devices

    Stack Overflow | 7 months ago | NonGrate
    android.view.InflateException: Binary XML file line #25: Error inflating class <unknown>
  2. 0

    java.lang.NumberFormatException: Invalid int: "res/drawable-hdpi-v4/ic_action_share.png"

    Stack Overflow | 2 years ago | Maksim Diakonov
    android.view.InflateException: Binary XML file line #8: Error inflating class android.widget.ImageButton
  3. 0

    ActionBarSherlock & ShareActionProvider cause InflateException (Found cause, not solved)

    Stack Overflow | 4 years ago | CristianGuerrero
    android.view.InflateException: Binary XML file line #26: Error inflating class &lt;unknown&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OnCreateOptionsMenu with ActionBarSherlock library

    Stack Overflow | 3 years ago | user3346237
    android.view.InflateException: Binary XML file line #29: Error inflating class &lt;unknown&gt;
  6. 0

    Calling Android DatePicker constructor when adding a DatePicker widget dynamically to the layout throws exception

    Stack Overflow | 4 years ago | Hamdi Baccara
    android.view.InflateException: Binary XML file line #81: Error inflating class android.widget.CalendarView
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 #25: Error inflating class <unknown>

    at android.view.LayoutInflater.createView()
  2. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:613)
    1 frame
  3. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    5 frames
  5. android.support.v7
    PreferenceGroupAdapter.onCreateViewHolder
    1. android.support.v7.preference.PreferenceGroupAdapter.onCreateViewHolder(PreferenceGroupAdapter.java:280)
    2. android.support.v7.preference.PreferenceGroupAdapter.onCreateViewHolder(PreferenceGroupAdapter.java:35)
    2 frames
  6. Android v7
    RecyclerView$Recycler.getViewForPosition
    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)
    3 frames
  7. android.support.v17
    GridLayoutManager.onLayoutChildren
    1. android.support.v17.leanback.widget.GridLayoutManager.getViewForPosition(GridLayoutManager.java:998)
    2. android.support.v17.leanback.widget.GridLayoutManager$3.createItem(GridLayoutManager.java:1485)
    3. android.support.v17.leanback.widget.SingleRow.appendVisibleItems(SingleRow.java:111)
    4. android.support.v17.leanback.widget.Grid.appendOneColumnVisibleItems(Grid.java:364)
    5. android.support.v17.leanback.widget.GridLayoutManager.appendOneColumnVisibleItems(GridLayoutManager.java:1721)
    6. android.support.v17.leanback.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:1904)
    6 frames
  8. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    2. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
    3. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
    3 frames
  9. Android Platform
    ViewRootImpl.performLayout
    1. android.view.View.layout(View.java:14008)
    2. android.view.ViewGroup.layout(ViewGroup.java:4373)
    3. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    4. android.view.View.layout(View.java:14008)
    5. android.view.ViewGroup.layout(ViewGroup.java:4373)
    6. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
    7. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
    8. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    9. android.view.View.layout(View.java:14008)
    10. android.view.ViewGroup.layout(ViewGroup.java:4373)
    11. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
    12. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
    13. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    14. android.view.View.layout(View.java:14008)
    15. android.view.ViewGroup.layout(ViewGroup.java:4373)
    16. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    17. android.view.View.layout(View.java:14008)
    18. android.view.ViewGroup.layout(ViewGroup.java:4373)
    19. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    20. android.view.View.layout(View.java:14008)
    21. android.view.ViewGroup.layout(ViewGroup.java:4373)
    22. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1021)
    23. android.view.View.layout(View.java:14008)
    24. android.view.ViewGroup.layout(ViewGroup.java:4373)
    25. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    26. android.view.View.layout(View.java:14008)
    27. android.view.ViewGroup.layout(ViewGroup.java:4373)
    28. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
    29. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
    30. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    31. android.view.View.layout(View.java:14008)
    32. android.view.ViewGroup.layout(ViewGroup.java:4373)
    33. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    34. android.view.View.layout(View.java:14008)
    35. android.view.ViewGroup.layout(ViewGroup.java:4373)
    36. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1892)
    36 frames