Where to put google-services.json file into eclipse project?

后端 未结 1 662
-上瘾入骨i
-上瘾入骨i 2021-02-07 19:58

I\'m trying to implement the new GCM client on Android.

At one point, you have to enable Google Services for the app. After enabling Clou

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 20:30

    It seems that for eclipse that file is not necessary. I've managed to make the client work without it.
    Just follow the steps from Implementing GCM Client on Android and skip the part with the google-services.json file.

    UPDATE: For Android Studio the instructions are pretty clear. The file must be put in the app/ directory of your project: https://developers.google.com/cloud-messaging/android/client#add-config

    P.S. Any vote down should go along with the reason specified in a comment, or not? :)

    0 讨论(0)
提交回复
热议问题