java.lang.UnsupportedOperationException: Failed to resolve attribute at index 24: TypedValue{t=0x3/d=0x285 "res/color/primary_text_material_light.xml" a=1 r=0x106010a}

Stack Overflow | madhan kumar | 2 months ago
  1. 0

    Fatal Exception: android.view.InflateException: Binary XML file line #20

    Stack Overflow | 2 months ago | madhan kumar
    java.lang.UnsupportedOperationException: Failed to resolve attribute at index 24: TypedValue{t=0x3/d=0x285 "res/color/primary_text_material_light.xml" a=1 r=0x106010a}
  2. 0

    UnsupportedOperationException: Can't convert to color: type=0x2

    GitHub | 10 months ago | konifar
    java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error inflating class TextView

    Stack Overflow | 3 weeks ago | ovo oris
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.ocee/com.example.android.ocee.MainActivity}: android.view.InflateException: Binary XML file line #61: Error inflating class TextView
  5. 0

    AlertDialog.setAdapter not working on 2.3.3-3.0

    GitHub | 4 years ago | ru-nekit-android
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

    10 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. java.lang.UnsupportedOperationException

      Failed to resolve attribute at index 24: TypedValue{t=0x3/d=0x285 "res/color/primary_text_material_light.xml" a=1 r=0x106010a}

      at android.content.res.TypedArray.getColor()
    2. Android Platform
      TextView.<init>
      1. android.content.res.TypedArray.getColor(TypedArray.java:447)
      2. android.widget.TextView.<init>(TextView.java:738)
      3. android.widget.TextView.<init>(TextView.java:671)
      3 frames
    3. Android v7
      AppCompatDelegateImplV7.onCreateView
      1. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:60)
      2. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:56)
      3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103)
      4. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:972)
      5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1031)
      5 frames
    4. Android Support v4
      LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
      1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
      6. android.view.View.inflate(View.java:19805)
      7. android.widget.Editor.getTextThumbnailBuilder(Editor.java:2112)
      8. android.widget.Editor.performLongClick(Editor.java:1014)
      9. android.widget.TextView.performLongClick(TextView.java:9240)
      10. android.view.View$CheckForLongPress.run(View.java:21142)
      11. android.os.Handler.handleCallback(Handler.java:746)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5443)
      14 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
      2 frames