As many other newbies to java and android i\'m trying to run gcm demo server and gcm demo client on windows, using eclipse to run vertual device and tomcat as a webserer.
I was having this error too,
turns out i hadn't enabled Google Cloud Messaging for Android
. (On one of my machines, this was automatically enabled while following the same steps, don't know why it didn't do same on the other) Long story short, go to developers console and enable it.
APIs and Auths | APIs | Google Cloud Messaging for Android
refresh your browser and try again.