Actually by mistake I pasted google-services json file of another project in my current project of android .So when building the app , i get error no matching client found for package 'com.mybidu.www'. I tried to delete the file but it gives error 'Java IO Exception Cannot delete google-services.json ' Nor does it allow me to overwrite the same file . What should i do ?
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...