build apk using cordova 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: build cordova app command
$ cordova build
$ cordoav build --release
Example 3: cordova android generate keystore
keytool -genkey -v -keystore release.keystore -alias app_release -keyalg RSA -keysize 2048 -validity 10000