Reputation: 117
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
Upvotes: 3
Views: 2855
Reputation: 19102
You need to create a /libs
folder and copy gcm.jar
into that and then build it.
Upvotes: 4