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

asked 11 Feb '16, 14:15
piltzl's gravatar image

piltzl
112

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×326
×24
×21

question asked: 11 Feb '16, 14:15

question was seen: 1,215 times

last updated: 11 Feb '16, 14:15