How to fix FATAL EXCEPTION: IntentService[GCMRegistrationService] causes by app start?
I've updatet our pushwoosh sdk for Xamarin Android, now we have the problem, that the getNoBackupFileDir method isnt available in Android Support Library v4. I've checked a lot of solutions, but nothing worked.
[AndroidRuntime] FATAL EXCEPTION: IntentService[GCMRegistrationService]
[AndroidRuntime] Process: PACKAGE_NAME, PID: 18293
[AndroidRuntime] java.lang.NoSuchMethodError: android.support.v4.content.ContextCompat.getNoBackupFilesDir
[AndroidRuntime] at com.google.android.gms.iid.zzd.zzdp(Unknown Source)
[AndroidRuntime] at com.google.android.gms.iid.zzd.<init>(Unknown Source)
[AndroidRuntime] at com.google.android.gms.iid.zzd.<init>(Unknown Source)
[AndroidRuntime] at com.google.android.gms.iid.InstanceID.zza(Unknown Source)
[AndroidRuntime] at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source)
[AndroidRuntime] at com.pushwoosh.GCMRegistrationService.register(Unknown Source)
[AndroidRuntime] at com.pushwoosh.GCMRegistrationService.onHandleIntent(Unknown Source)
[AndroidRuntime] at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:102)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:146)
[AndroidRuntime] at android.os.HandlerThread.run(HandlerThread.java:61)
Added packages an components: Google Play Services - Cloud Messaging, Android Support Library v4, GooglePlayServices.Base, .Basement, .Gcm
Please sign in to leave a comment.
Comments
0 comments