Bug between testing app and publishing to google play store

Hi @jasen,

The process in that guide is more complicated than it needs to be. I ran into all kinds of trouble when I followed it.

Instead try these steps:

Generate a keystore

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Copy this keystore into platforms/android

Create an Ant properties file

Create a new file in platforms/android called ant.properties and add the following two lines:

key.store=yourkeystore.keystore
key.alias=yourkeystorealias

Now when you run “cordova build android --release” all building, signing, and zipaligning is done for you. The result should be as compatible as your debug build.

You can find more on this here:

2 Likes