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,
$ android update project --name GCMDemo -p . --target android-16.
I am using
wamp server and targetting Android 8+
Any help would be highly appreciated
If you want to execute
$ant war command:
- first you need to download and install Apache Ant on your computer.
- Then you should configurate your PATH and JAVA_HOME variables like it is described here (into “Installing Apache Ant” section).
- And only after that you can execute
ant warcommand into Windows command line (prompt).
.warfile will be created.
- then you can deploy and run your
.warfile on tomcat server for example. (create Java EE project, then download and install tomcat server, configurate paths, and run your project on tomcat server…)