Ad

File Google-services.json Is Missing. The Google Services Plugin Cannot Function Without It. Searched Location:

I'm trying to add my app to Firebase, but it keeps saying

> File google-services.json is missing.

Full error in the below pic:

enter image description here

even though I've added it to the right place(I have added it to root folder)

enter image description here

I read some articles but my problem still persists. Any help? My app version is (ionic-4)

Ad

Answer

Its because you are using firebase plugin in ionic, correct me if I'm wrong. I had this issue once i was implementing firebase push notification in ionic app. Simply what i did was Copied google-services.json to below paths

  • src/app
  • platforms/android
  • platforms/android/app
  • platforms/ios

Then i build my ionic app and it successfully build unsigned apk.

Ad
source: stackoverflow.com
Ad