android - Illegal access error with GCM token -


i getting gcm regstration token using following code.

instanceid instanceid = instanceid.getinstance(homescreen.this); string token = instanceid.gettoken(senderid, googlecloudmessaging.instance_id_scope); 

previously working fine, after enabling jackoptions true im getting following exception.

java.lang.illegalaccesserror: method 'void android.support.v4.content.contextcompat.<init>()' inaccessible class 'com.google.android.gms.iid.zzd' (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/com.cloudzon.gratzeez1-1/base.apk:classes74.dex)                                                                         @ com.google.android.gms.iid.zzd.zzec(unknown source)                                                                         @ com.google.android.gms.iid.zzd.<init>(unknown source)                                                                         @ com.google.android.gms.iid.zzd.<init>(unknown source)                                                                         @ com.google.android.gms.iid.instanceid.zza(unknown source)                                                                         @ com.google.android.gms.iid.instanceid.getinstance(unknown source)                                                                         @ com.cloudzon.gratzeez1.homescreen$31.run(homescreen.java:2533)                                                                         @ java.lang.thread.run(thread.java:818) 

i tried removing jack support, steel facing same issue.

thank you


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -