Question: I'm trying to implement Push Notification. I have a problem with `import com.google.android.gcm.GCMRegistrar` it cannot be resolved.

I did install `Google Play Services` and add `google-play-services_lib` to my projects folder.

But the problem remains. I tried to find `gcm.jar` as I saw solutions that worked for others, but I don't have this .jar. 

Is there something else that I'm missing?

Answer: 
**GCMRegistrar** GCM API is deprecated.It is recommended to refer updated documentation on [Google developer Site](https://developers.google.com/android/reference/com/google/android/gms/gcm/GoogleCloudMessaging)
Our Google overlords have decried that gcm.jar is deprecated as of Summer 2013 so whatever example code you're working off that requires GCMRegistrar.java is a bit outdated. Of course, just adding gcm.jar works well as stated in the other answers.

If you want to follow Google's commands for whatever reason, CommonsWare has an updated GCM example project that basically just copies the needed classes from gcm.jar and renames them with a 'compat' suffix: 

<https://github.com/commonsguy/cw-omnibus/tree/master/Push/GCMClient2/src/com/commonsware/android/gcm/client>