[英]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我正在尝试将我的应用添加到 Firebase,但它一直在说
> File google-services.json is missing.
Full error in the below pic:下图中的完整错误:
even though I've added it to the right place(I have added it to root folder)即使我已将其添加到正确的位置(我已将其添加到根文件夹中)
I read some articles but my problem still persists.我阅读了一些文章,但我的问题仍然存在。 Any help?
有什么帮助吗? My app version is (ionic-4)
我的应用程序版本是 (ionic-4)
Its because you are using firebase plugin in ionic, correct me if I'm wrong.这是因为您在 ionic 中使用了 firebase 插件,如果我错了,请纠正我。 I had this issue once i was implementing firebase push notification in ionic app.
一旦我在 ionic 应用程序中实施 firebase 推送通知,我就遇到了这个问题。 Simply what i did was Copied
google-services.json
to below paths我所做的就是将
google-services.json
复制到以下路径
src/app
platforms/android
platforms/android/app
platforms/ios
Then i build my ionic app and it successfully build unsigned apk.然后我构建了我的 ionic 应用程序并成功构建了未签名的 apk。
Only Copy google-services.json
to the below paths只将
google-services.json
复制到以下路径
platforms/android/app
No need to copy it to any other folders无需将其复制到任何其他文件夹
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.