API Firebase Auth API не действителен. Пожалуйста, передайте действительный ключ API

I was also facing this issue.

Solution: change the version of google services at project level gradle and sync your project and reinstall.

classpath 'com.google.gms:google-services:4.3.0'
Average Antelope