android.view.InflateException

Binary XML file line #1: Error inflating class <unknown>

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web299

  • via Stack Overflow by dev_android
    ,
  • via GitHub by koem
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • android.view.InflateException: Binary XML file line #1: Error inflating class <unknown> at android.view.LayoutInflater.createView(LayoutInflater.java:513) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563) at android.view.LayoutInflater.inflate(LayoutInflater.java:385) at android.view.LayoutInflater.inflate(LayoutInflater.java:320) at android.widget.ResourceCursorAdapter.newView(ResourceCursorAdapter.java:79) at android.widget.SimpleCursorAdapter.newView(SimpleCursorAdapter.java:96) at android.widget.CursorAdapter.getView(CursorAdapter.java:182) at android.widget.AbsListView.obtainView(AbsListView.java:1274) at android.widget.ListView.makeAndAddView(ListView.java:1668) at android.widget.ListView.fillDown(ListView.java:637) at android.widget.ListView.fillFromTop(ListView.java:694) at android.widget.ListView.layoutChildren(ListView.java:1521) at android.widget.AbsListView.onLayout(AbsListView.java:1113) at android.view.View.layout(View.java:6830) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119) at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1108) at android.widget.LinearLayout.onLayout(LinearLayout.java:920) at android.view.View.layout(View.java:6830) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998) at android.widget.LinearLayout.onLayout(LinearLayout.java:918) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998) at android.widget.LinearLayout.onLayout(LinearLayout.java:918) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998) at android.widget.LinearLayout.onLayout(LinearLayout.java:918) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.widget.FrameLayout.onLayout(FrameLayout.java:333) at android.view.View.layout(View.java:6830) at android.view.ViewRoot.performTraversals(ViewRoot.java:996) at android.view.ViewRoot.handleMessage(ViewRoot.java:1633) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4363) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at android.widget.TextView.<init>(TextView.java:329) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:446) at android.view.LayoutInflater.createView(LayoutInflater.java:500) ... 52 more Caused by: android.content.res.Resources$NotFoundException: File res/color/list_selector_color.xml from drawable resource ID #0x7f070000 at android.content.res.Resources.loadDrawable(Resources.java:1693) at android.content.res.TypedArray.getDrawable(TypedArray.java:548) at android.view.View.<init>(View.java:1850) at android.widget.TextView.<init>(TextView.java:335) ... 56 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

    Indri YunitaIndri Yunita
    28 times, last one
    justCodeitjustCodeit
    17 times, last one
    gamebusterzgamebusterz
    7 times, last one
    Unknown visitor
    Unknown visitorOnce,
    danleyb2Interinteldanleyb2Interintel
    Once,
    26 more bugmates