0. Before release
Change version in the config.xml.
<widget id="com.yourdomain.yourapp" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
Make sure the same version in AndroidManifest.xml.
And android:debuggable should be false.
<manifest android:hardwareAccelerated="true" android:versionCode="2" android:versionName="0.0.2" package="com.yourdomain.yourapp" android:windowSoftInputMode="adjustPan" android:debuggable="false" xmlns:android="http://schemas.android.com/apk/res/android">
1. create keystore file
http://developer.android.com/tools/publishing/app-signing.html#cert
$ keytool -genkey -v -keystore [Key store file name] -alias [alias name] -keyalg [key algorithm type] -keysize [key size] -validity [expire days]
<example>
$ keytool -genkey -v -keystore mysampleappkey.keystore -alias mysampleapp -keyalg RSA -keysize 2048 -validity 18250
2. Ant configuration file
Add these lines to ant.properties file under platforms/android/.
If you are using windows based path, you have to use double slashes,
\\ instead of
\.
key.store=C:\\mykeyfolder\\my-release-key.keystore
key.alias=app_name
3. Build app
$ cordova build android
4. Make apk in release mode
$ cd platforms/android
$ ant release
Enter keystore and alias password in the middle of the process.
You could ignore warning messages.
5. Sign your app with your private key
http://developer.android.com/tools/publishing/app-signing.html#releasemode
$ cd bin
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
Enter keystore password in the middle of the process.
6. Verify your apk is signed.
$ jarsigner -verify -verbose -certs my_application.apk
7. Align the final apk package.
$ zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
8. Prepare images.
a. At least two screen shots of your application.
b. One high resolution icon.(512*512, 32bit png with alpha)
c. Feature Graphic.(1024w*500h, jpg or 24bit png with no alpha)
You need google account to sign in to Google play developer console.
9. Upload to google play store.
Please refer to this instuctions.
https://developer.android.com/distribute/googleplay/developer-console.html
a. Sign in to
Google Play Developer Console.
b. Go to

All applications and click +Add new application button.
c. Select language and add application title, then click Upload APK button.
d. Select where to upload.
You can setup beta or alpha testing to get feedbacks from limited groups before launch your app to production.
For Beta and Alpha testing, you need to invite testers via
Google Group or Google+ Community.
https://support.google.com/googleplay/android-developer/answer/3131213?hl=en
e. Upload your app.
f. Go to Store Listing menu and fill out the fields.
Fields marked with * is mandate fields and you can check any missing fields by clicking 'Why can't I publish?'.
Add at least two screen shots.
Upload a high resolution icon and feature graphic.
Additional infos...
g. Go to Pricing & Distribution menu and fill out the fields.
Select countries where you want to distibute.
Check the agreements of Content guidlines and US export laws.
h. Now, you can publish your app to google play store.
You can install your app from this path.
https://play.google.com/apps/testing/[your package name].