Kunci API AUTH Firebase tidak valid. Harap berikan kunci API yang valid

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