无法使用我已添加到构建路径的 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
最佳答案
您需要创建一个/libs
文件夹并将gcm.jar
复制到其中然后构建它。
关于android - 不能使用 GCMRegistrar?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11448812/