我剛剛看到谷歌棄用了C2DM並將其替換爲GCM。在他們的website上,他們逐步描述了我們如何安裝開始實施新的android推送通知(或雲消息傳遞,因爲他們命名)所需的GCM庫。Android SDK經理GCM庫
在「安裝助手庫」寫的是:
To perform the steps described in the following sections, you must first install the helper libraries (reference: client and server). From the SDK Manager, install Extras > Google Cloud Messaging for Android Library. This creates a gcm directory under YOUR_SDK_ROOT/extras/google/ containing these subdirectories: gcm-client, gcm-demo-appengine, gcm-demo-client, gcm-demo-server, and gcm-server.
我從Eclipse中打開SDK管理器,但在其它功能是什麼,除了「英特爾硬件加速執行管理器」。我沒有看到別的東西。
如何在SDK管理器中查找/添加/安裝GCM?
從Eclipse更新的SDK管理器中不顯示的原因是因爲更新不是支持你當前的Eclipse。 要下載這些更新,您需要升級您的eclipse。 –