我遇到了与this相同的问题.我会尝试提供更多信息。我正在使用PlayFramework,用Java编写。我写了一个叫做PushNotificationQueue的插件。PushNotificationQueue同时运行iOS和Android推送消息队列。下面,作为引用,是我的GCM实现。publicclassAndroidPushNotificationQueue{//(constructorsandfieldsnotincludedforbrevity)//constructorstartsadaemonthread/***Sendsanotification.*@paramnot