java.lang.IllegalAccessError

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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • support v4 issue after update playservice
    via Stack Overflow by Arpit Patel
    ,
  • run-android stopped working and always fail
    via Stack Overflow by Snick
    ,
    • 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(Unknown Source) at com.google.android.gms.iid.zzd.<init>(Unknown Source) at com.google.android.gms.iid.zzd.<init>(Unknown Source) at com.google.android.gms.iid.InstanceID.zza(Unknown Source) at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source) at com.dyulok.android.organizerapp.gcmservices.GCMRegistrationIntentService.registerGCM(GCMRegistrationIntentService.java:44) at com.dyulok.android.organizerapp.gcmservices.GCMRegistrationIntentService.onHandleIntent(GCMRegistrationIntentService.java:34) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:149)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,