0
我使用的离子2.为了充分利用谷歌推送通知服务的,我需要安装this:FCM插件丢失的依赖
ionic plugin add cordova-plugin-fcm
但是,这样做后,我得到这个错误时我尝试构建应用程序:
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
E:\Development\IDE\ionic-apps\theWhoZoo\platforms\android\src\debug\google-services.json
E:\Development\IDE\ionic-apps\theWhoZoo\platforms\android\google-services.json
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
所以似乎缺少依赖google-services.json
我想。我需要安装吗?怎么样?
如果有人可以协助,我将不胜感激。