2

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?

NickT
  • 23,844
  • 11
  • 78
  • 121
Lavekush Agrawal
  • 6,040
  • 7
  • 52
  • 85

2 Answers2

2

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

fida1989
  • 3,234
  • 1
  • 27
  • 30
  • I have the Google Play services but i think i get the error because this app always crashes on my Samsung GT-N5100. Its running CyanogenMod 12.1 – nyxee Aug 10 '15 at 01:14
1

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.

Krunal Indrodiya
  • 782
  • 2
  • 7
  • 19