Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by user3256145

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

Solutions on the web

via GitHub by samsonho
, 1 year ago
Binary XML file line #18: Error inflating class <unknown>
via Google Groups by Areg, 7 months ago
Binary XML file line #21: Error inflating class <unknown>
via GitHub by tevjef
, 2 years ago
via java-forum.org by Unknown author, 2 years ago
Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Michael
, 2 years ago
via Stack Overflow by deeJ
, 2 years ago
Binary XML file line #1: Error inflating class <unknown>
android.view.InflateException: Binary XML file line #18: Error inflating class <unknown>	at android.view.LayoutInflater.createView(LayoutInflater.java:518)	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)	at android.view.LayoutInflater.inflate(LayoutInflater.java:386)	at android.view.LayoutInflater.inflate(LayoutInflater.java:320)	at android.support.v7.preference.XpPreferenceGroupAdapter.onCreateViewHolder(XpPreferenceGroupAdapter.java:76)	at android.support.v7.preference.XpPreferenceGroupAdapter.onCreateViewHolder(XpPreferenceGroupAdapter.java:16)	at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)	at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)	at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)	at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)	at android.view.View.layout(View.java:7228)	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)	at android.view.View.layout(View.java:7228)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)	at android.view.View.layout(View.java:7228)	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)	at android.view.View.layout(View.java:7228)	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)	at android.view.View.layout(View.java:7228)	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1170)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:814)	at android.view.View.layout(View.java:7228)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)	at android.view.View.layout(View.java:7228)	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)	at android.view.View.layout(View.java:7228)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)	at android.view.View.layout(View.java:7228)	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)	at android.view.View.layout(View.java:7228)	at android.widget.FrameLayout.onLayout(FrameLayout.java:338)	at android.view.View.layout(View.java:7228)	at android.view.ViewRoot.performTraversals(ViewRoot.java:1148)	at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)	at android.os.Handler.dispatchMessage(Handler.java:99)	at android.os.Looper.loop(Looper.java:130)	at android.app.ActivityThread.main(ActivityThread.java:3691)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:507)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)	at dalvik.system.NativeStart.main(Native Method)