How to setup Google Cloud Messaging for Android?

后端 未结 1 794
醉梦人生
醉梦人生 2020-12-29 12:38

I am trying to implement Google Cloud Messaging for Android (GCM) by following the demo

But i am unable to execute some command like $ ant war

相关标签:
1条回答
  • 2020-12-29 13:08

    If you want to execute $ant war command:

    1. first you need to download and install Apache Ant on your computer.
    2. Then you should configurate your PATH and JAVA_HOME variables like it is described here (into "Installing Apache Ant" section).
    3. And only after that you can execute ant war command into Windows command line (prompt). After ant war command .war file will be created.
    4. then you can deploy and run your .war file on tomcat server for example. (create Java EE project, then download and install tomcat server, configurate paths, and run your project on tomcat server...)
    0 讨论(0)
提交回复
热议问题