简体   繁体   English

GCM是否可以在Java SDK 1.4上运行,还是需要更高级别的Java SDK?

[英]Is GCM will work on Java SDK 1.4 or it required higher level of Java SDK

I am an Android developer and implementing GCM push notification in my app for that i am having one server which is built using Java 1.4 SDK, push notification is giving error. 我是一名Android开发人员,并且在我的应用中实现了GCM推送通知,因为我有一台使用Java 1.4 SDK构建的服务器,推送通知给出了错误。 i am suspecting that it is due to Java 1.4 SDK. 我怀疑这是由于Java 1.4 SDK引起的。

Requirements For the web server: 对于Web服务器的要求:

  • Ant 1.8 (it might work with earlier versions, but it's not guaranteed). Ant 1.8(它可能适用于早期版本,但不能保证)。
  • One of the following: 以下之一:
    • A running web server compatible with Servlets API version 2.5, such as Tomcat 6 or Jetty, or 与Servlets API版本2.5兼容的运行中的Web服务器,例如Tomcat 6或Jetty,或
    • Java App Engine SDK version 1.6 or later. Java App Engine SDK 1.6或更高版本。
  • A Google account registered to use GCM. 已注册使用GCM的Google帐户。
  • The API key for that account. 该帐户的API密钥。

From GCM guide 从GCM指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM