Since I upgraded the project with the latest version of google services and libraries (9.0.0), I have this strange issue :
Grade console :
:
regenerate google-services.json at https://developers.google.com/cloud-messaging/android/client#get-config,one important thing is that you must enable Cloud Messaging in "Choose services" step ,open the new google-services.json file you will see words like
"api_key": [
{
"current_key": "xxxxxxxxxxx"
}"
without this words or without value of current_key is not the right file