android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

Stack Overflow | dev_android | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Textview background color resource

    Stack Overflow | 6 years ago | dev_android
    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
  2. 0

    dev: master broken?

    GitHub | 6 years ago | koem
    iew.InflateException: Binary XML file line #6: Error inflating class android.widget.TextView
  3. 0

    [WIP] Making Samsung Galaxy S Applications w… | Nexus One

    xda-developers.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sec.android.app.memo/com.sec.android.app.memo.MemoCreateActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Navigation Drawer not working on pre-ICS versions

    Stack Overflow | 4 years ago | deeJ
    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.content.res.Resources$NotFoundException

      File res/color/list_selector_color.xml from drawable resource ID #0x7f070000

      at android.content.res.Resources.loadDrawable()
    2. Android Platform
      TextView.<init>
      1. android.content.res.Resources.loadDrawable(Resources.java:1693)
      2. android.content.res.TypedArray.getDrawable(TypedArray.java:548)
      3. android.view.View.<init>(View.java:1850)
      4. android.widget.TextView.<init>(TextView.java:335)
      5. android.widget.TextView.<init>(TextView.java:329)
      5 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:446)
      2 frames
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:500)
      1 frame
    5. Android
      PhoneLayoutInflater.onCreateView
      1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:385)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:320)
      4. android.widget.ResourceCursorAdapter.newView(ResourceCursorAdapter.java:79)
      5. android.widget.SimpleCursorAdapter.newView(SimpleCursorAdapter.java:96)
      6. android.widget.CursorAdapter.getView(CursorAdapter.java:182)
      7. android.widget.AbsListView.obtainView(AbsListView.java:1274)
      8. android.widget.ListView.makeAndAddView(ListView.java:1668)
      9. android.widget.ListView.fillDown(ListView.java:637)
      10. android.widget.ListView.fillFromTop(ListView.java:694)
      11. android.widget.ListView.layoutChildren(ListView.java:1521)
      12. android.widget.AbsListView.onLayout(AbsListView.java:1113)
      13. android.view.View.layout(View.java:6830)
      14. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
      15. android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1108)
      16. android.widget.LinearLayout.onLayout(LinearLayout.java:920)
      17. android.view.View.layout(View.java:6830)
      18. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
      19. android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
      20. android.widget.LinearLayout.onLayout(LinearLayout.java:918)
      21. android.view.View.layout(View.java:6830)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      23. android.view.View.layout(View.java:6830)
      24. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      25. android.view.View.layout(View.java:6830)
      26. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      27. android.view.View.layout(View.java:6830)
      28. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
      29. android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
      30. android.widget.LinearLayout.onLayout(LinearLayout.java:918)
      31. android.view.View.layout(View.java:6830)
      32. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      33. android.view.View.layout(View.java:6830)
      34. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
      35. android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
      36. android.widget.LinearLayout.onLayout(LinearLayout.java:918)
      37. android.view.View.layout(View.java:6830)
      38. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      39. android.view.View.layout(View.java:6830)
      40. android.widget.FrameLayout.onLayout(FrameLayout.java:333)
      41. android.view.View.layout(View.java:6830)
      42. android.view.ViewRoot.performTraversals(ViewRoot.java:996)
      43. android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
      44. android.os.Handler.dispatchMessage(Handler.java:99)
      45. android.os.Looper.loop(Looper.java:123)
      46. android.app.ActivityThread.main(ActivityThread.java:4363)
      46 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame