大家好,我最近一直在玩弄 Android 的原生扩展,我需要添加 Google Cloud Messaging。我能够让 Google Cloud Messaging 应用程序自行运行。但是现在我已经将它集成到 Flash 的本机扩展中,我发现了一个我无法解决的问题。
08-21 17:58:01.661: W/ActivityManager(180): Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTRATION cat=[air.GCMAppTest.debug] flg=0x10 cmp=air.GCMAppTest.debug/com.xxxxxxxxx.extensions.GCM.GCMIntentService (has extras) }: not found
当 GCM 广播接收器接收到
08-21 17:58:01.661: V/GCMBroadcastReceiver(7604): GCM IntentService class: com.gamecloudstudios.popsportsandroidane.extensions.GCM.GCMIntentService
该错误是由 Flash Package Context 是默认包引起的。当我需要默认包是包含 GCMIntentService 的包时。
有没有人能够让 GCMIntentService 在 Android Flash Native Extension 中运行?或任何 AndroidIntentService 。