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 tomlear
, 1 year ago
No virtual method getColor(ILandroid/content/res/Resources$Theme;)I in class Landroid/content/res/Resources; or its super classes (declaration of 'android.content.res.Resources' appears in /system/framework/framework.jar)
java.lang.NoSuchMethodError: No virtual method getColor(ILandroid/content/res/Resources$Theme;)I in class Landroid/content/res/Resources; or its super classes (declaration of 'android.content.res.Resources' appears in /system/framework/framework.jar)	at com.example.android.xyztouristattractions.service.UtilityService.showNotification(UtilityService.java:371)	at com.example.android.xyztouristattractions.service.UtilityService.onHandleIntent(UtilityService.java:143)	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.os.HandlerThread.run(HandlerThread.java:61)