Now I am getting this error
Could not find gcm.jar. Please install the Android SDK Extra :
\'Google Cloud Messaging for Android Library\' using the Andr
Start SDK Manager and scroll down to the section "Extras" and make sure you have installed Google Cloud Messaging for Android Library, if not, install the package.
The package will be installed in the directory "your_android_sdk\extras\google\gcm\"
Client code (for example to be used in Android app): "gem\gcm-client\dist"
To add the gcm client-jar (gcm.jar) to your Android-project, copy it to the "libs" folder in your Android-studio project and right click on the file and select Build Path --> Add to Build Path