Search Chirayu Software Solutions Blog

Thursday, April 7, 2016

Publish phonegap app to Play Store for android

Steps to publish phonegap android app to Play Store :

1) open http://build.phonegap.com

2) Create account in this website using adobe id

3) Login to the account

4) Download java from following link and install it.

http://www.java.com/en/download/index.jsp

Run following command, alias is dpspot and filename is dpspot
"C:\Program Files (x86)\Java\jre1.8.0_31\bin\keytool.exe" -genkey -v -keystore dpspot.keystore -alias dpspot -keyalg RSA -keysize 2048 -validity 10000

5) Upload the keystore file in add key option of android menu in phonegap website. Enter alias as given in above command.

6) After uploading is complete click on rebuild. Then you will get apk button in green color.

7) Download the apk and upload it in the developer console of play store.

Note :
Backup the keystore file otherwise it will not be possible to update the app later.

Reference :
https://www.youtube.com/watch?v=VwJ9hTh1n2w&nohtml5=False
https://github.com/amirudin/build/wiki/Android-Signing