1) To run the app for test in browser is

cordova run browser

2) To run the app for test in real device is

cordova build android

3) in the root of the project folder use the following command

cordova build –release android

4) Keep the keystore in the apk folder and write the following command

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-mobileapps.keystore android-release-unsigned.apk mynewmobile

my-mobileapps.keystore is the kwy store file name which you have just kept in apk folder

at last mynewmobile is the alias name

5) now go to C:\Users\Win 8.1\AppData\Local\Android\Sdk\build-tools\25.0.2

zipalign -v 4 “d:/intel main cordova projects development/project name /platforms/android/build/outputs/apk/androidj.apk” mysigned.apk
android-unsigned apk is renamed to androidj.apk

new name of signed apk is mysigned.apk

Leave comment

Your email address will not be published. Required fields are marked with *.