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

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Your xml configuration is invalid. Check it with an xml validator.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • InflateException only on Android 4.X
    via Stack Overflow by Zack Bogdan
    ,
  • Bug showing list dialog
    via GitHub by carboleda
    ,
    • android.view.InflateException: Binary XML file line #1: Error inflating class <unknown> at android.view.LayoutInflater.createView(LayoutInflater.java:620) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694) at android.view.LayoutInflater.inflate(LayoutInflater.java:469) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at com.dyve.counting.FileExplorer.RecyclerAdapter.onCreateViewHolder(RecyclerAdapter.java:54) at com.dyve.counting.FileExplorer.RecyclerAdapter.onCreateViewHolder(RecyclerAdapter.java:18) at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5223) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4449) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4359) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961) at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:438) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:562) at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:171) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2900) at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3071) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1037) at android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:747) at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42) at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1133) at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:760) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1673) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1527) at android.widget.LinearLayout.onLayout(LinearLayout.java:1436) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1673) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1527) at android.widget.LinearLayout.onLayout(LinearLayout.java:1436) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14858) at android.view.ViewGroup.layout(ViewGroup.java:4646) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2035) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1792) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1047)

    Users with the same issue

    justCodeit
    justCodeit16 times, last one,
    Unknown visitor1 times, last one,
    Ranjana Dangol
    Ranjana Dangol6 times, last one,
    dmitry
    dmitry2 times, last one,
    Unknown visitor1 times, last one,
    40 more bugmates