Why can't I install Google Cloud Messaging for the Android library

I follow the instructions on using gcm here http://developer.android.com/guide/google/gcm/gs.html and I am stuck in the next step:

Install Helper Libraries To complete the steps described in the following sections, you must first install the helper libraries (link: client and server). In the SDK manager, install additional features> Google Virtual Messaging for the Android library . This creates the gcm directory in YOUR_SDK_ROOT / extras / google / containing these subdirectories: gcm-client, gcm-demo-appengine, gcm-demo-client, gcm-demo-server and gcm-server.

In my SDK manager I can’t find an option: Google Cloud Messaging for Android library, as I wrote in this screenshot enter image description here What should I do to solve this problem? Thanks

+8
android sdk cloud
source share
3 answers

I had the same problem. You must update EVERYTHING in the Eclipse plug-in before GCM appears. Make an update from sdk manager and it will appear when the version is current.

+8
source share

Use the Android SDK Manager to upgrade the SDK to r20, after which you will also need to update the Eclipse plugin. Then you will find Google Cloud Messaging for the Android library in the "Advanced" section of the SDK manager along with everything else. Just select what you want to install.

And if the following error occurs: - Android sdk manager has not been installed

Then

  • Go to the folder where android-sdk is located.
  • Right-click on the SDK Manager and select Run as Administrator.
  • Restart eclipse.
+3
source share
  • Run eclipse
  • Go Eclipse Menu :: Help β†’ Installing New Software
  • in the settings of the installation window, for example If you selected "Work with list" ADT Site :: my case is similar to this "ADT Site - https://dl-ssl.google.com/android/eclipse " Check all

    • Tool development
    • NDK Plugins and Beyond and Finish ...
  • Now go to the "Android SDK Manager" window. You will see the section "Advanced" and "Google Virtual Messaging for Android Library"

+1
source share

All Articles