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)

GitHub | tomlear | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 6#234629212

    GitHub | 10 months ago | tomlear
    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)

    Root Cause Analysis

    1. 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()
    2. com.example.android
      UtilityService.onHandleIntent
      1. com.example.android.xyztouristattractions.service.UtilityService.showNotification(UtilityService.java:371)
      2. com.example.android.xyztouristattractions.service.UtilityService.onHandleIntent(UtilityService.java:143)
      2 frames
    3. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames