java.lang.IllegalAccessError: tried to access method android.support.v4.content.ContextCompat.:(Ljava/lang/String;)V from class com.google.android.gms.iid.zzd

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Illegal Access Error When trying to use GCMIntentService - Android

    Stack Overflow | 4 months ago | Shailendra Sachan
    java.lang.IllegalAccessError: tried to access method android.support.v4.content.ContextCompat.:(Ljava/lang/String;)V from class com.google.android.gms.iid.zzd
  2. 0

    Not able to Obtain a registration token and display in Logcat in android studio

    Stack Overflow | 10 months ago | prem nath
    java.lang.IncompatibleClassChangeError: android.support.v4.content.ContextCompat
  3. 0

    Having Error while exceuting --- InstanceID instanceID = InstanceID.getInstance(getApplication());

    Stack Overflow | 10 months ago | prem nath
    java.lang.IncompatibleClassChangeError: android.support.v4.content.ContextCompat
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error using Push Notification ,java.lang.IncompatibleClassChangeError: android.support.v4.content.ContextCompat Error

    Stack Overflow | 8 months ago | Spartak Team
    java.lang.IncompatibleClassChangeError: android.support.v4.content.ContextCompat
  6. 0
    samebug tip
    Update Google Play Services to the latest version and android support library to latest version. 9.8 for google play services and 25.0.0 for the android support libraries seems to make it work.

    2 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. java.lang.IllegalAccessError

      tried to access method android.support.v4.content.ContextCompat.:(Ljava/lang/String;)V from class com.google.android.gms.iid.zzd

      at com.google.android.gms.iid.zzd.zzdL()
    2. com.google.android
      InstanceID.getInstance
      1. com.google.android.gms.iid.zzd.zzdL(Unknown Source)
      2. com.google.android.gms.iid.zzd.<init>(Unknown Source)
      3. com.google.android.gms.iid.zzd.<init>(Unknown Source)
      4. com.google.android.gms.iid.InstanceID.zza(Unknown Source)
      5. com.google.android.gms.iid.InstanceID.getInstance(Unknown Source)
      5 frames
    3. com.dyulok.android
      GCMRegistrationIntentService.onHandleIntent
      1. com.dyulok.android.organizerapp.gcmservices.GCMRegistrationIntentService.registerGCM(GCMRegistrationIntentService.java:44)
      2. com.dyulok.android.organizerapp.gcmservices.GCMRegistrationIntentService.onHandleIntent(GCMRegistrationIntentService.java:34)
      2 frames
    4. Android Platform
      Looper.loop
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:149)
      3 frames