java.lang.RuntimeException: Failed to resolve attribute at index 1

Stack Overflow | Leonid | 4 months ago
  1. 0

    OpenCV and Android Studio: "unfortunately app has stopped"

    Stack Overflow | 4 months ago | Leonid
    java.lang.RuntimeException: Failed to resolve attribute at index 1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Android giving me a lot of errors after updating some SDK tools

    Stack Overflow | 4 months ago | Yik Jin
    java.lang.RuntimeException: Failed to resolve attribute at index 1

    2 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.RuntimeException

      Failed to resolve attribute at index 1

      at android.content.res.TypedArray.twGetColorStateList()
    2. Android Platform
      TypedArray.getColorStateList
      1. android.content.res.TypedArray.twGetColorStateList(TypedArray.java:437)
      2. android.content.res.TypedArray.getColorStateList(TypedArray.java:419)
      2 frames
    3. android.support.graphics
      VectorDrawableCompat.createFromXmlInner
      1. android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray(VectorDrawableCompat.java:518)
      2. android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:472)
      3. android.support.graphics.drawable.VectorDrawableCompat.createFromXmlInner(VectorDrawableCompat.java:436)
      3 frames
    4. Android v7
      AppCompatActivity.onCreate
      1. android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:708)
      2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:348)
      3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:188)
      4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181)
      5. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:689)
      6. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186)
      7. android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77)
      8. android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:83)
      9. android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146)
      10. android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28)
      11. android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41)
      12. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:193)
      13. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173)
      14. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511)
      15. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71)
      15 frames
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6112)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1117)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2609)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2721)
      5. android.app.ActivityThread.access$900(ActivityThread.java:168)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5753)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
      2 frames