适用于Android库的Google Cloud Messaging - 已弃用

时间:2013-10-16 06:18:37

标签: android google-app-engine android-studio

我正在关注Google 2013 IO的秒表演示 http://www.youtube.com/watch?v=lmv1dTnhLH4&feature=player_detailpage#t=2225

我尝试生成App Engine后端但失败了,它说我需要安装“Google Cloud Messaging for Android Library”但它已经弃用了!我该用什么?

enter image description here

2 个答案:

答案 0 :(得分:3)

Google Cloud Messaging现已包含在Play服务SDK中。

看看:http://developer.android.com/google/play-services/setup.html

答案 1 :(得分:1)

好像这个包现在已经过时了。为了在SDK Manager中看到它,我必须检查"显示过时的包"在"包"菜单

编辑(澄清我的回答)

尝试运行Maven Android SDK Deployer时遇到此问题。我使用的SDK部署程序的版本是期望安装gcm软件包(至少在默认配置中运行部署程序时)。

出于其他目的,建议您使用较新的Google Play Services,如此处的其中一个答案中所述。enter image description here