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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by dirkam
, 1 year ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f01022d a=4}
via GitHub by DJCrapsody
, 1 year ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010081 a=2}
via GitHub by laszlo-galosi
, 2 years ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010204 a=3}
via Stack Overflow by Sky
, 2 years ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f060000 a=-1 r=0x7f060000}
via Stack Overflow by ljpv14
, 2 years ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f060000 a=-1 r=0x7f060000}
via Stack Overflow by Bonapart3
, 2 years ago
Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f060006 a=-1 r=0x7f060006}
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(Resources.java:2040)
at net.xpece.android.support.preference.PreferenceIconHelper.getTintList(PreferenceIconHelper.java:78)
at net.xpece.android.support.preference.PreferenceIconHelper.loadFromAttributes(PreferenceIconHelper.java:60)
at net.xpece.android.support.preference.DialogPreference.init(DialogPreference.java:1061)
at net.xpece.android.support.preference.ListPreference.(ListPreference.java)
at net.xpece.android.support.preference.ListPreference.(ListPreference.java)
at net.xpece.android.support.preference.ListPreference.(ListPreference.java)
at java.lang.reflect.Constructor.constructNative(Constructor.java)
at android.support.v7.preference.PreferenceInflater.createItem(PreferenceInflater.java:256)
at android.support.v7.preference.PreferenceInflater.onCreateItem(PreferenceInflater.java:2281)
at android.support.v7.preference.PreferenceInflater.rInflate(PreferenceInflater.java:359)
at android.support.v7.preference.PreferenceInflater.rInflate(PreferenceInflater.java:361)
at android.support.v7.preference.PreferenceInflater.inflate(PreferenceInflater.java:167)
at android.support.v7.preference.PreferenceInflater.inflate$7af30e91(PreferenceInflater.java:117)
at android.support.v7.preference.XpPreferenceManager.inflateFromResource$6154c3e6(XpPreferenceManager.java:72)
at com.my.app.SettingsFragment.android.support.v7.preference.PreferenceFragmentCompat.addPreferencesFromResource(SettingsFragment.java:6423)
at android.support.v7.preference.XpPreferenceFragment.onCreatePreferences(XpPreferenceFragment.java:54)
at android.support.v7.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:218)
at android.support.v4.app.Fragment.performCreate(Fragment.java:2062)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1051)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)
at com.instabug.library.compat.InstabugAppCompatActivity.onStart(InstabugAppCompatActivity.java:18)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1163)
at android.app.Activity.performStart(Activity.java:5018)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2044)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2096)
at android.app.ActivityThread.access$600(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:4787)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

6 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.