android.view.InflateException

Binary XML file line #278: Error inflating class android.widget.CheckBox

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5291

  • via Stack Overflow by yogi puranik
    , 1 year ago
    Binary XML file line #278: Error inflating class android.widget.CheckBox
  • Binary XML file line #19: Error inflating class android.widget.CheckBox
  • Binary XML file line #237: Error inflating class android.widget.CheckBox
  • Stack trace

    • android.view.InflateException: Binary XML file line #278: Error inflating class android.widget.CheckBox at android.view.LayoutInflater.createView(LayoutInflater.java:613) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at com.hotel.yasmeenshaikh.myhotels.ListViewAdapter.getView(ListViewAdapter.java:59) at android.widget.AbsListView.obtainView(AbsListView.java:2271) at android.widget.ListView.makeAndAddView(ListView.java:1808) at android.widget.ListView.fillDown(ListView.java:705) at android.widget.ListView.fillFromTop(ListView.java:766) at android.widget.ListView.layoutChildren(ListView.java:1655) at android.widget.AbsListView.onLayout(AbsListView.java:2106) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4390) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:948) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4390) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4390) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507) at android.widget.LinearLayout.onLayout(LinearLayout.java:1420) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4390) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4390) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1868) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1689) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4222) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725) at android.view.Choreographer.doCallbacks(Choreographer.java:555) at android.view.Choreographer.doFrame(Choreographer.java:525) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4918) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:807) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:574) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:587) ... 47 more Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_btn_check_material.xml from drawable resource ID #0x7f020004 at android.content.res.Resources.loadDrawable(Resources.java:1930) at android.content.res.TypedArray.getDrawable(TypedArray.java:601) at android.widget.CompoundButton.<init>(CompoundButton.java:74) at android.widget.CheckBox.<init>(CheckBox.java:68) at android.widget.CheckBox.<init>(CheckBox.java:64) ... 50 more

    Write tip

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

    Users with the same issue

    28 times, 3 months ago
    17 times, 4 months ago
    7 times, 5 months ago
    Unknown user
    Once, 6 months ago
    Once, 8 months ago
    26 more bugmates