You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by da...@apache.org on 2016/03/17 08:32:11 UTC

docs commit: CB-10861 Add an example for apk signing to Android platform docs

Repository: cordova-docs
Updated Branches:
  refs/heads/master c69f5a812 -> e8dcc221b


CB-10861 Add an example for apk signing to Android platform docs

Fixed slashes in sample buildConfig.json


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/e8dcc221
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/e8dcc221
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/e8dcc221

Branch: refs/heads/master
Commit: e8dcc221b30edbf9678818e0fc87609ce64c6d29
Parents: c69f5a8
Author: daserge <v-...@microsoft.com>
Authored: Thu Mar 17 10:29:27 2016 +0300
Committer: daserge <v-...@microsoft.com>
Committed: Thu Mar 17 10:29:27 2016 +0300

----------------------------------------------------------------------
 www/docs/en/dev/guide/platforms/android/index.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e8dcc221/www/docs/en/dev/guide/platforms/android/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/guide/platforms/android/index.md b/www/docs/en/dev/guide/platforms/android/index.md
index c3b2c44..de9ac06 100644
--- a/www/docs/en/dev/guide/platforms/android/index.md
+++ b/www/docs/en/dev/guide/platforms/android/index.md
@@ -299,6 +299,10 @@ To sign an app, you need the following parameters:
 These parameters can be specified using the command line arguments above to
 the [Cordova CLI](../../../cordova-cli/index.html) `build` or `run` commands.
 
+__Note__: You should use double `--` to indicate that these are platform-specific arguments, for example:
+
+`cordova run android --release -- --keystore=../my-release-key.keystore --storePassword=password --alias=alias_name --password=password`.
+
 ### Using build.json
 
 Alternatively, you could specify them in a build configuration file (`build.json`)
@@ -308,14 +312,14 @@ build configuration file:
     {
          "android": {
              "debug": {
-                 "keystore": "..\android.keystore",
+                 "keystore": "../android.keystore",
                  "storePassword": "android",
                  "alias": "mykey1",
                  "password" : "password",
                  "keystoreType": ""
              },
              "release": {
-                 "keystore": "..\android.keystore",
+                 "keystore": "../android.keystore",
                  "storePassword": "",
                  "alias": "mykey2",
                  "password" : "password",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org