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 DJCrapsody
, 1 year ago
Binary XML file line #2: Error inflating class android.widget.CheckedTextView
via GitHub by thearaks
, 1 year ago
Binary XML file line #2: Error inflating class android.widget.CheckedTextView
via Stack Overflow by Pratik Butani
, 1 year ago
via Stack Overflow by jpok
, 5 months ago
via Stack Overflow by Micheal Johnson
, 10 months ago
Binary XML file line #2: Error inflating class <unknown>
via Stack Overflow by Karl Morrison
, 1 month ago
Binary XML file line #1: Error inflating class android.widget.RelativeLayout
android.view.InflateException: Binary XML file line #2: Error inflating class android.widget.CheckedTextView	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 android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:371)	at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)	at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:193)	at android.widget.Spinner.onMeasure(Spinner.java:482)	at android.view.View.measure(View.java:16497)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)	at android.view.View.measure(View.java:16497)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)	at android.view.View.measure(View.java:16497)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)	at android.view.View.measure(View.java:16497)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)	at android.view.View.measure(View.java:16497)	at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1226)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)	at android.widget.ScrollView.onMeasure(ScrollView.java:326)	at android.view.View.measure(View.java:16497)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)	at android.view.View.measure(View.java:16497)	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1940)	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1137)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1319)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1024)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5694)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)	at android.view.Choreographer.doCallbacks(Choreographer.java:574)	at android.view.Choreographer.doFrame(Choreographer.java:544)	at android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:676)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5045)	at java.lang.reflect.Method.invokeNative(Method.java)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)	at dalvik.system.NativeStart.main(NativeStart.java)