I'm dealing with Eclipse Luna to build the web app (jsp,java) while dealing with Eclipse Juno to build the android app. Plus, i'm referring to this link as my tutorial http://javapapers.com/android/google-cloud-messaging-gcm-for-android-and-push-notifications/
Registration id generated successfully in android device. But when run Java Application it gives following error.
RegId required: com.google.android.gcm.server.InvalidRequestException: HTTP Status Code: 401
What do I have to do?