Error: no receivers for action com.google.android.c2dm.intent.registration -
i using following code in manifest
<receiver android:name="com.google.android.gcm.gcmbroadcastreceiver" android:permission="com.google.android.c2dm.permission.send" > <intent-filter> <action android:name="com.google.android.c2dm.intent.receive" /> <action android:name="com.google.android.c2dm.intent.registration" /> <category android:name="com.moosejawford.activities" /> </intent-filter> </receiver> <service android:name=".gcmintentservice" />
it worked before, today getting error, did google changed anything.
please me in solving issue. have not found correct answers in google.i likes know why happening this.
error report:
08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2180) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.access$600(activitythread.java:141) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 08-26 11:30:18.031: e/androidruntime(32283): @ android.os.handler.dispatchmessage(handler.java:99) 08-26 11:30:18.031: e/androidruntime(32283): @ android.os.looper.loop(looper.java:137) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.main(activitythread.java:5041) 08-26 11:30:18.031: e/androidruntime(32283): @ java.lang.reflect.method.invokenative(native method) 08-26 11:30:18.031: e/androidruntime(32283): @ java.lang.reflect.method.invoke(method.java:511) 08-26 11:30:18.031: e/androidruntime(32283): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 08-26 11:30:18.031: e/androidruntime(32283): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 08-26 11:30:18.031: e/androidruntime(32283): @ dalvik.system.nativestart.main(native method) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2180) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.startactivitynow(activitythread.java:2023) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.localactivitymanager.movetostate(localactivitymanager.java:135) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.localactivitymanager.startactivity(localactivitymanager.java:347) 08-26 11:30:18.031: e/androidruntime(32283): @ android.widget.tabhost$intentcontentstrategy.getcontentview(tabhost.java:749) 08-26 11:30:18.031: e/androidruntime(32283): @ android.widget.tabhost.setcurrenttab(tabhost.java:413) 08-26 11:30:18.031: e/androidruntime(32283): @ android.widget.tabhost.addtab(tabhost.java:240) 08-26 11:30:18.031: e/androidruntime(32283): @ com.moosejawford.activities.tabs.oncreate(tabs.java:44) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activity.performcreate(activity.java:5104) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 08-26 11:30:18.031: e/androidruntime(32283): ... 11 more 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2180) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.startactivitynow(activitythread.java:2023) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.localactivitymanager.movetostate(localactivitymanager.java:135) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.localactivitymanager.startactivity(localactivitymanager.java:347) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activity.performcreate(activity.java:5104) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 08-26 11:30:18.031: e/androidruntime(32283): caused by: java.lang.illegalstateexception: no receivers action com.google.android.c2dm.intent.registration 08-26 11:30:18.031: e/androidruntime(32283): @ com.google.android.gcm.gcmregistrar.checkreceiver(gcmregistrar.java:169) 08-26 11:30:18.031: e/androidruntime(32283): @ com.google.android.gcm.gcmregistrar.checkmanifest(gcmregistrar.java:154) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activity.performcreate(activity.java:5104) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 08-26 11:30:18.031: e/androidruntime(32283): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 08-26 11:30:18.031: e/androidruntime(32283): ... 28 more
Comments
Post a Comment