当把谷歌-services.json文件到Eclipse项目? [英] Where to put google-services.json file into eclipse project?

查看:2411
本文介绍了当把谷歌-services.json文件到Eclipse项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现在Android上新的 GCM客户端

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

在一个点上,您必须启用谷歌服务的应用程序。启用后云消息传递你要下载的文件谷歌services.json ,并把它放在应用程序/ 移动/ 目录。现在的问题是,在我的Eclipse项目这个目录不存在。

At one point, you have to enable Google Services for the app. After enabling Cloud Messaging you have to download the file google-services.json and put it in the app/ or mobile/ directory. The problem is that in my eclipse project this directories doesn't exist.

所以我的问题是:在哪里?我必须把这个文件

So my question is: where do I have to put this file?

推荐答案

看来,对于日食该文件是没有必要的。我已经成功地使客户工作离不开它。
只要遵循实施GCM客户端在Android 的步骤并跳过部分与谷歌services.json 文件。

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.

这篇关于当把谷歌-services.json文件到Eclipse项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆