Android crash in Oreo: RuntimeException : ColorStateList has unresolved theme attributes! Consider using Resources.getStateCoorList

Viewed 347

App is getting crashed in Oreo devices due to some Resourcs.getColorStateList() Please check the below screenshot.

Crash log

1 Answers

I'm seeing a similar exception from Android support library. This happens when I run the app in emulator (API 27).

ColorStateList android:color/text_color_primary has unresolved theme attributes! Consider using Resources.getColorStateList(int, Theme) or Context.getColorStateList(int). java.lang.RuntimeException

Related