Hey Ana, I also came across the issue of google_app_id missing though I crossed the ID in the firebase console and in my google_services.json was the same and also in the values.xml also had the same app_id, but yet was experiencing the issue.
So I just downloaded and replaced the google_services.json file again it worked and the analytics started reporting.