2016-10-28 5 views
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が欠けているように見えます。それをインストールする必要はありますか?どうやって?

誰でも助けていただければ幸いです。

enter image description here

答えて

0

ソリューション

私は\platforms\androidgoogle-services.jsonをコピーしました。

関連する問題