android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010081 a=2}

GitHub | DJCrapsody | 3 months ago
  1. 0

    GitHub comment 475#249413374

    GitHub | 3 months ago | DJCrapsody
    android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010081 a=2}
  2. 0

    Android webview android.widget.CheckedTextView causes crash

    Stack Overflow | 2 months ago | JPJens
    android.view.InflateException: Binary XML file line #17: Error inflating class android.widget.CheckedTextView
  3. 0

    state_activated causes problems pre-HC

    GitHub | 5 years ago | androidmoney
    android.view.InflateException: Binary XML file line #20: Error inflating class android.widget.DatePicker
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Floating Action Button Crashing

    Stack Overflow | 10 months ago | Aayush Gupta
    android.view.InflateException: Binary XML file line #214: Error inflating class android.support.design.widget.FloatingActionButton
  6. 0

    Widget not working on Android 4.4

    GitHub | 1 year ago | eidottermihi
    android.view.InflateException: Binary XML file line #62: Error inflating class android.widget.TextView

    1 unregistered visitors
    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

      Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010081 a=2}

      at android.content.res.Resources.loadColorStateList()
    2. Android Platform
      CheckedTextView.<init>
      1. android.content.res.Resources.loadColorStateList(Resources.java:2237)
      2. android.content.res.TypedArray.getColorStateList(TypedArray.java:343)
      3. android.widget.TextView.<init>(TextView.java:968)
      4. android.widget.CheckedTextView.<init>(CheckedTextView.java:62)
      5. android.widget.CheckedTextView.<init>(CheckedTextView.java:58)
      5 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Constructor.java)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    4. Android Platform
      LayoutInflater.createView
      1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
      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.onCreateView(LayoutInflater.java:669)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:469)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      5. android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:371)
      6. android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
      7. android.widget.AbsSpinner.onMeasure(AbsSpinner.java:193)
      8. android.widget.Spinner.onMeasure(Spinner.java:482)
      9. android.view.View.measure(View.java:16497)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      14. android.view.View.measure(View.java:16497)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
      16. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
      17. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      18. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      19. android.view.View.measure(View.java:16497)
      20. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
      21. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
      22. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      23. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      24. android.view.View.measure(View.java:16497)
      25. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
      26. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
      27. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      28. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      29. android.view.View.measure(View.java:16497)
      30. android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1226)
      31. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      32. android.widget.ScrollView.onMeasure(ScrollView.java:326)
      33. android.view.View.measure(View.java:16497)
      34. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
      35. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
      36. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      37. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      38. android.view.View.measure(View.java:16497)
      39. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1940)
      40. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1137)
      41. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1319)
      42. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1024)
      43. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5694)
      44. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      45. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      46. android.view.Choreographer.doFrame(Choreographer.java:544)
      47. android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:676)
      48. android.os.Handler.dispatchMessage(Handler.java:102)
      49. android.os.Looper.loop(Looper.java:136)
      50. android.app.ActivityThread.main(ActivityThread.java:5045)
      50 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame