Compile Android on Cordova



set ANDROID_HOME=C:\Program Files\Android\android-sdk-windows

set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools

Open a command line window, and go to /path/to/your/project/platforms/android/cordova.

cordova build android –release, from top level directory

Check ant.properties for the keystore details..

Also keygeneration:

keytool -genkeypair -dname "cn=Mark Jones, ou=JavaSoft, o=Sun, c=US" -alias xyu.com -keypass kpxx135 -keystore xyu.keystore