3

无法使用我已添加到构建路径的 gcm.jar 中的 GCMRegisterar,但我仍然在 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
4

1 回答 1

4

您需要创建一个/libs文件夹并复制gcm.jar到该文件夹​​中,然后构建它。

于 2012-07-12T13:41:19.900 回答