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

GitHub | dirkam | 5 months ago
  1. 0

    GitHub comment 41#234767541

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

    Changing color of textview in android

    Stack Overflow | 3 years ago | Sky
    android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f060000 a=-1 r=0x7f060000}
  3. 0

    Cant get my app to work. Just crashes

    Stack Overflow | 4 years ago | Urbanderivative
    android.content.res.Resources$NotFoundException: File You picked Rock! I hope you win! from drawable resource ID #0x7f050009: .xml extension required
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App Crashes suddenly crashes in debug-Mode see crash log

    Stack Overflow | 4 years ago | user1735856
    android.content.res.Resources$NotFoundException: File res/layout/activity_login.xml from color state list resource ID #0x7f030000
  6. 0

    android inflate exception

    Stack Overflow | 4 years ago | Consec
    android.content.res.Resources$NotFoundException: File #ffffff from drawable resource ID #0x7f040009: .xml extension required

  1. Akshay 6 times, last 5 months ago
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=0x7f01022d a=4}

    at android.content.res.Resources.loadColorStateList()
  2. Android Platform
    TypedArray.getColorStateList
    1. android.content.res.Resources.loadColorStateList(Resources.java:2040)
    2. android.content.res.TypedArray.getColorStateList(TypedArray.java:342)
    2 frames
  3. net.xpece.android
    ListPreference.<init>
    1. net.xpece.android.support.preference.PreferenceIconHelper.getTintList(PreferenceIconHelper.java:78)
    2. net.xpece.android.support.preference.PreferenceIconHelper.loadFromAttributes(PreferenceIconHelper.java:60)
    3. net.xpece.android.support.preference.DialogPreference.init(DialogPreference.java:1061)
    4. net.xpece.android.support.preference.ListPreference.<init>(ListPreference.java)
    5. net.xpece.android.support.preference.ListPreference.<init>(ListPreference.java)
    6. net.xpece.android.support.preference.ListPreference.<init>(ListPreference.java)
    6 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Constructor.java)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  5. android.support.v7
    XpPreferenceManager.inflateFromResource$6154c3e6
    1. android.support.v7.preference.PreferenceInflater.createItem(PreferenceInflater.java:256)
    2. android.support.v7.preference.PreferenceInflater.onCreateItem(PreferenceInflater.java:2281)
    3. android.support.v7.preference.PreferenceInflater.rInflate(PreferenceInflater.java:359)
    4. android.support.v7.preference.PreferenceInflater.rInflate(PreferenceInflater.java:361)
    5. android.support.v7.preference.PreferenceInflater.inflate(PreferenceInflater.java:167)
    6. android.support.v7.preference.PreferenceInflater.inflate$7af30e91(PreferenceInflater.java:117)
    7. android.support.v7.preference.XpPreferenceManager.inflateFromResource$6154c3e6(XpPreferenceManager.java:72)
    7 frames
  6. com.my.app
    PreferenceFragmentCompat.addPreferencesFromResource
    1. com.my.app.SettingsFragment.android.support.v7.preference.PreferenceFragmentCompat.addPreferencesFromResource(SettingsFragment.java:6423)
    1 frame
  7. android.support.v7
    PreferenceFragmentCompat.onCreate
    1. android.support.v7.preference.XpPreferenceFragment.onCreatePreferences(XpPreferenceFragment.java:54)
    2. android.support.v7.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:218)
    2 frames
  8. Android Support v4
    FragmentActivity.onStart
    1. android.support.v4.app.Fragment.performCreate(Fragment.java:2062)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1051)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
    6. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)
    7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:619)
    7 frames
  9. com.instabug.library
    InstabugAppCompatActivity.onStart
    1. com.instabug.library.compat.InstabugAppCompatActivity.onStart(InstabugAppCompatActivity.java:18)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1163)
    2. android.app.Activity.performStart(Activity.java:5018)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2044)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2096)
    5. android.app.ActivityThread.access$600(ActivityThread.java:138)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:213)
    9. android.app.ActivityThread.main(ActivityThread.java:4787)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame