int uniqueInt = (int) (System.currentTimeMillis() & 0xfffffff);
Instead of giving 0 in,
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent,PendingIntent.FLAG_UPDATE_CURRENT);
give that uniqueint
solved Getting error in GcmListenerService