gpt4 book ai didi

android - 如何解决内部错误: retry receiver class not set yet and GCMBaseIntentService : SERVICE_NOT_AVAILABLE error

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:30:12 26 4
gpt4 key购买 nike

我在 Micromax Canvas 2 上运行我的应用程序时收到此 logcat,我的手机配置为 Google 服务和 Google 帐户,这里我没有获取 GCM 注册 ID 而我是 在模拟器中获取它。任何建议为什么?提前致谢。

07-11 13:52:48.145: V/InputMethodManager(16539): focusOut: android.widget.AutoCompleteTextView{41990460 VFED..CL .F....ID 0,53-480,113 #7f070024 app:id/txt_sitename} 

mServedView=android.widget.AutoCompleteTextView{41990460 VFED..CL .F....ID 0,53-480,113 #7f070024 app:id/txt_sitename} winFocus=false
07-11 13:54:05.461: V/GCMBroadcastReceiver(16539): onReceive: com.google.android.c2dm.intent.REGISTRATION
07-11 13:54:05.461: V/GCMBroadcastReceiver(16539): GCM IntentService class: dotsandcoms.android.siteuplitenew.GCMIntentService
07-11 13:54:05.463: V/GCMBaseIntentService(16539): Acquiring wakelock
07-11 13:54:05.469: V/GCMBaseIntentService(16539): Intent service name: GCMIntentService-677416186780-1
07-11 13:54:05.470: D/dalvikvm(16539): create interp thread : stack size=32KB
07-11 13:54:05.470: D/dalvikvm(16539): create new thread
07-11 13:54:05.470: D/dalvikvm(16539): new thread created
07-11 13:54:05.470: D/dalvikvm(16539): update thread list
07-11 13:54:05.471: D/dalvikvm(16539): threadid=13: interp stack at 0x5e527000
07-11 13:54:05.471: D/dalvikvm(16539): threadid=13: created from interp
07-11 13:54:05.471: D/dalvikvm(16539): start new thread
07-11 13:54:05.471: D/dalvikvm(16539): threadid=13: notify debugger
07-11 13:54:05.471: D/dalvikvm(16539): threadid=13 (IntentService[GCMIntentService-677416186780-1]): calling run()
07-11 13:54:05.476: E/GCMRegistrar(16539): internal error: retry receiver class not set yet
07-11 13:54:05.476: V/GCMRegistrar(16539): Registering receiver
07-11 13:54:05.477: D/GCMBaseIntentService(16539): handleRegistration: registrationId = null, error = SERVICE_NOT_AVAILABLE, unregistered = null
07-11 13:54:05.477: D/GCMBaseIntentService(16539): Registration error: SERVICE_NOT_AVAILABLE
07-11 13:54:05.477: D/GCMBaseIntentService(16539): Scheduling registration retry, backoff = 3515 (3000)
07-11 13:54:05.490: V/GCMBaseIntentService(16539): Releasing wakelock
07-11 13:54:05.497: D/dalvikvm(16539): threadid=13: exiting
07-11 13:54:05.497: D/dalvikvm(16539): threadid=13: bye!
07-11 13:54:08.995: V/GCMBroadcastReceiver(16539): onReceive: com.google.android.gcm.intent.RETRY
07-11 13:54:08.995: V/GCMBroadcastReceiver(16539): GCM IntentService class: dotsandcoms.android.siteuplitenew.GCMIntentService
07-11 13:54:08.995: V/GCMBaseIntentService(16539): Acquiring wakelock
07-11 13:54:09.001: V/GCMBaseIntentService(16539): Intent service name: GCMIntentService-677416186780-2
07-11 13:54:09.003: D/dalvikvm(16539): create interp thread : stack size=32KB
07-11 13:54:09.004: D/dalvikvm(16539): create new thread
07-11 13:54:09.004: D/dalvikvm(16539): new thread created
07-11 13:54:09.004: D/dalvikvm(16539): update thread list
07-11 13:54:09.004: D/dalvikvm(16539): threadid=13: interp stack at 0x5e527000
07-11 13:54:09.004: D/dalvikvm(16539): threadid=13: created from interp
07-11 13:54:09.004: D/dalvikvm(16539): start new thread
07-11 13:54:09.004: D/dalvikvm(16539): threadid=13: notify debugger
07-11 13:54:09.004: D/dalvikvm(16539): threadid=13 (IntentService[GCMIntentService-677416186780-2]): calling run()
07-11 13:54:09.010: V/GCMRegistrar(16539): Registering app dotsandcoms.android.siteuplitenew of senders 677416186780
07-11 13:54:09.018: V/GCMBaseIntentService(16539): Releasing wakelock
07-11 13:54:09.022: D/dalvikvm(16539): threadid=13: exiting
07-11 13:54:09.022: D/dalvikvm(16539): threadid=13: bye!

最佳答案

这是一个已知的错误,

如果您收到错误“内部错误:尚未设置重试接收器类”,那么您使用的是旧版本的客户端 gcm.jar。这是修复错误的补丁。无需在 Android SDK 中修补本地版本的 GCMBroadcastReceiver.java,您可以从 GCM 存储库下载源文件或更新后的 gcm.jar 文件。

Link to Patch

关于android - 如何解决内部错误: retry receiver class not set yet and GCMBaseIntentService : SERVICE_NOT_AVAILABLE error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17589441/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com