E0401 Firebase configuration that cannot be read
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
The project's google-services.json cannot give this app its Firebase project: it is not JSON, it has no Android app whose package name is the app's application id (a file can hold several apps, and another app's ids would make every subscribe fail on the phone), or that app is missing the app id, the sender id, the project id or the API key. Firebase Cloud Messaging needs all four to give the device a token. Until the app manifest gives the app an id of its own, its application id is the shell's, dev.duolith.shell.
How to fix it
In the Firebase console (Project settings, Your apps), add an Android app with the app's application id if there is none, download google-services.json again and replace the file. Do not edit it by hand.
In a terminal
duolith explain E0401