3

cannot use the GCMRegisterar from gcm.jar which i have added to build path ,but still i am getting this message in logcat.

07-12 14:29:08.825: I/dalvikvm(23536): Could not find method com.google.android.gcm.GCMRegistrar.getRegistrationId, referenced from method com.example.registration_id.MainActivity.onCreate
Rishikesh
  • 117
  • 3
  • 11

1 Answers1

4

You need to create a /libs folder and copy gcm.jar into that and then build it.

Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166