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 minstrelsy
, 1 year ago
Binary XML file line #21: Error inflating class <unknown>
via GitHub by varunagarwal315
, 1 year ago
Binary XML file line #8: Error inflating class <unknown>
via Stack Overflow by satyajit das
, 3 weeks ago
via Stack Overflow by Artem Vinigradov
, 2 years ago
Binary XML file line #23: Error inflating class custom.MessageCloudView
via Stack Overflow by Prasad Pawar
, 2 years ago
Binary XML file line #2: Error inflating class <unknown>
via GitHub by vitamin-caig
, 1 year ago
Binary XML file line #34: Error inflating class <unknown>
android.view.InflateException: Binary XML file line #21: Error inflating class <unknown>	at android.view.LayoutInflater.createView(LayoutInflater.java:657)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:855)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:855)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)	at android.view.LayoutInflater.inflate(LayoutInflater.java:527)	at android.view.LayoutInflater.inflate(LayoutInflater.java:429)	at com.xxx.xxxFragment.onCreateView(SourceFile:130)	at android.support.v4.app.Fragment.performCreateView(SourceFile:1962)	at android.support.v4.app.FragmentManagerImpl.moveToState(SourceFile:1067)	at android.support.v4.app.FragmentManagerImpl.attachFragment(SourceFile:1426)	at android.support.v4.app.BackStackRecord.run(SourceFile:728)	at android.support.v4.app.FragmentManagerImpl.execPendingActions(SourceFile:1613)	at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(SourceFile:570)	at android.support.v4.app.FragmentPagerAdapter.finishUpdate(SourceFile:141)	at android.support.v4.view.ViewPager.populate(SourceFile:1106)	at android.support.v4.view.ViewPager.populate(SourceFile:952)	at android.support.v4.view.ViewPager.onMeasure(SourceFile:1474)	at android.view.View.measure(View.java:20151)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:900)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)	at android.view.View.measure(View.java:20151)	at android.support.v4.widget.DrawerLayout.onMeasure(SourceFile:940)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.support.v7.widget.ContentFrameLayout.onMeasure(SourceFile:135)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)	at android.view.View.measure(View.java:20151)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)	at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:3158)	at android.view.View.measure(View.java:20151)	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2594)	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1549)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1841)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7403)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)	at android.view.Choreographer.doCallbacks(Choreographer.java:695)	at android.view.Choreographer.doFrame(Choreographer.java:631)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7229)	at java.lang.reflect.Method.invoke(Method.java)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)