cordova build signed apk using command line code example
Example 1: how to generate keystore file for cordova
$ keytool -genkey -v -keystore android.keystore -alias android-app-key -keyalg RSA -keysize 2048 -validity 10000
Example 2: cordova android generate keystore
keytool -genkey -v -keystore release.keystore -alias app_release -keyalg RSA -keysize 2048 -validity 10000