Could somebody please help me understand what the gcm_defaultSenderId is in the following code (found in onHandleIntent in RegistrationIntentService.java):
I
The gcm_defaultSenderId is a string is included by the google-services gradle plugin. Be sure you have the:
apply plugin: 'com.google.gms.google-services'
in your build.gradle file.
This plugin should be available in the latest version of the build tools.
Like Vesko said this is your Sender ID which in this case is the Project Number in your dev console project. The google-services plugin extracts this from your downloaded project configuration file.