I\'m stuck for a while on a mysterious problem. So I implemented GCM in my android app, but i receive an INVALID_SENDER error.
Finally got around this. Was accidentally trying to use the the 'Project ID' instead of the 'Project Number'. Google Developer Console provides both on the Overview page, make sure you are using the correct one.