2015-08-14 82 views
-1

我试图将推送通知添加到我的android应用程序,并且我发现this tutorial on the topic将GCM添加​​到android eclipse项目

但日食不承认GoogleCoundMessaging,即使我将google_play_service_lib添加到我的项目。

这里是my captured screen

+2

除了你的问题,你应该使用android-studio作为你的IDE – Michael

+3

也许你应该输入“GoogleCloudMessaging”而不是“GoogleCoundMessaging” – DanielV

+0

你必须在lib文件夹中为C2DM和GCM添加​​Jar文件。 – Kushan2

回答

0

我已经固定我的问题。

*我将“google_play service.jar”添加到我的项目“libs”文件夹中,并将其添加到项目构建路径中。

*然后日食公认的 “Google云端通讯”

*但是,应用程序停止工作时试图让GCM的RegID。

*我运行我的应用程序没有调试。所有问题都解决了