ghita
ghita

Reputation: 2796

File google-services.json is missing error even if i Have the json in project

> File google-services.json is missing. The Google Services Plugin cannot function without it. 
  Searched Location: 
  C:\Users\path...\gms_android\app\src\nullnull\google-services.json
  C:\Users\path...\gms_android\app\src\release\google-services.json
  C:\Users\path...\gms_android\app\src\nullnullRelease\google-services.json
  C:\Users\path...\gms_android\app\src\nullnull\release\google-services.json
  C:\Users\path...\gms_android\app\src\release\nullnull\google-services.json
  C:\Users\path...\gms_android\app\google-services.json


I have downloaded .json file and it;s location is here

enter image description here

It has been worked until now, and suddenly I started to get this error, not sure how to solve it

EDIT: Forgot to mention I have tried several times invalidate cache & restrat, clean, rebuild.

Upvotes: 0

Views: 156

Answers (1)

Taki
Taki

Reputation: 3730

You have to put the google-services.json file in the app folder of the project ,try the following

cut the JSON file from debug folder , and go to app folder , right click and paste there , it will be put in the app folder but not add to any sub folders

Upvotes: 1

Related Questions