GCM is not working on Kindle fire devices: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf

StackOverflow https://stackoverflow.com/questions/22833590

Question

Its throwing exception while calling GCM.register(this,SENDER_ID);

java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf

What is alternative option of GCM on Amazon devices?

Was it helpful?

Solution

Kindle Fire don't have "Google Play Services" library installed, so GCM won't work. Try ADM instead.

OTHER TIPS

GCM have some limitation,

In android device must have google play store, second one is android device configure with google account (This limitation in some devices.).

You got error this because kindle dose not have this package which gcm needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top