Firebase for Google Authentication Error

Hello! I’d like to ask. Why can’t my application authenticate using Firebase? I have often used Firebase in my previous applications, but why doesn’t it work when I try it in my new application to log in to Firebase using Google? It just says Given String is empty or null. Please explain. Thank You! Have a nice day!

Ensure that your google-services.json file is correctly placed in your project’s app directory.