To insert the already downloaded google service JSON file as explained in this linkĀ https://crea8social.com/help/android-app-setup/how-to-generate-google-service-json-file-for-messenger,
!. Make sure you are on the project aspect of your android studio.
2. Expand app
3. Open the google-services.json file
4. Paste the file generated.