cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fredgalvao <>
Subject [GitHub] cordova-docs pull request: Instructions about signing and releasin...
Date Fri, 12 Dec 2014 13:13:09 GMT
Github user fredgalvao commented on a diff in the pull request:
    --- Diff: docs/en/3.4.0/guide/platforms/android/ ---
    @@ -242,3 +242,31 @@ You can push the app to the device from the command line:
     Alternately within Eclipse, right-click the project and choose __Run
     As &rarr; Android Application__.
    +## Signing and releasing your android application
    +Create a keystore file and a keystore alias as described at [Android Developer Site](
AFter that, follow these steps.
    +* Run `cordova build android` from the folder containing `www` folder
    +* `cd` to this path `platforms/android/`
    +* Make sure `` in this folder contains these keys and right values
    +> key.alias=<alias_value>
    +> key.alias.password=<alias_password>
    +> # there is a way to keep these values outside version control. Refer to the Reference
#2 below
    +* increment the `versionCode` in `AndroidManifest.xml` in this folder. If this is your
very first release you can leave it as "1".
    +* `cd` to `ant-build` folder from this folder
    --- End diff --
    Why are these last steps suggested considering the user is not using cordova CLI?
    Because if he is using CLI (which the first step suggests), he can just create the ``
file and change the version in `config.xml` instead of editing `AndroidManifest.xml`directly,
and then run `cordova build android --release` in the project root.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message