The Import Com.google.android.gms.gcm.googlecloudmessaging Cannot Be Resolved
I'm trying to use the notification in an Android app, I found many tuto but all use the com.google.android.gcm pakage which are deprecated. I see that I have to use the com.google
Solution 1:
Whether you added gcm.jar in your project?
Go to Android SDK Manager->Extras->GCM. Downlad it. Go to particular location.
It will contain gcm.jar.Add in your project.
Excellent tutorial is given here
Solution 2:
You will need the GCM library
y to work with GCM
. You need to put GCM
jar file in your libs
folder and then you have to add it in you project.
To get GCM library and add it to your project look at this link :
Post a Comment for "The Import Com.google.android.gms.gcm.googlecloudmessaging Cannot Be Resolved"