Deleting google-services json file
Step 1. Close your Android Studio.
Step 2. Go to the location of the project.
Step 3. Delete the google-services.json
It will get deleted without any problem.
Cheers!
First you have to just download the new fresh google-services.json.
then copy the file.
paste it into Project view -> app folder in your android-studio app.
It will overwrite your existing file
Suppose you are not able to do it, just do this.
That json file referenced in android-studio cache so once close your android studio and then delete this file it will delete.. Hope it will help you...
Open Task Manager (Press Alt + Ctr + delete) and end the running JDK process and try again the android platform removal