You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds the project for Android and produces an APK that you can manually deploy on device or in the native emulator.
9
9
10
10
### Options
11
-
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When the `--key-store-*` options are specified, produces a signed release build.
11
+
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
12
12
*`--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
13
13
*`--key-store-password` - Provides the password for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
14
14
*`--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
15
15
*`--key-store-alias-password` - Provides the password for the alias specified with `--key-store-alias-password`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
16
16
*`--static-bindings` - If set, generates static bindings from your JavaScript code to corresponding native Android APIs during build. This static bindings speed up app loading.
17
17
18
18
<% if(isHtml) { %>
19
+
### Command Limitations
20
+
21
+
* When the `--release` flag is set, you must also specify all `--key-store-*` options.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/deploy.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
17
17
18
18
### Options<% if(isMacOS) { %> for Android<% } %>
19
19
*`--device` - Deploys the project on the specified connected physical or virtual device.
20
-
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When the `--key-store-*` options are specified, produces a signed release build.
20
+
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
21
21
*`--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
22
22
*`--key-store-password` - Provides the password for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
23
23
*`--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
@@ -30,6 +30,7 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
30
30
### Command Limitations
31
31
32
32
* You can run `$ tns deploy ios` only on OS X systems.
33
+
* When the `--release` flag is set for an Android build, you must also specify all `--key-store-*` options.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/emulate-android.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Builds the specified project and runs it in the native emulator from the Android
14
14
*`--avd` - Sets the Android virtual device on which you want to run your app. You can set only one device at a time. You cannot use `--avd` and `--geny` simultaneously.
15
15
*`--geny` - Sets the Genymotion virtual device on which you want to run your app. You can set only one device at a time. You cannot use `--avd` and `--geny` simultaneously.
16
16
*`--timeout` - Sets the number of seconds that the NativeScript CLI will wait for the virtual device to boot before quitting the operation and releasing the console. If not set, the default timeout is 120 seconds. To wait indefinitely, set 0.
17
-
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When the `--key-store-*` options are specified, produces a signed release build.
17
+
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
18
18
*`--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
19
19
*`--key-store-password` - Provides the password for the keystore file specified with --key-store-path. You can use the `--key-store-*` options along with --release to produce a signed release build. You need to specify all `--key-store-*` options.
20
20
*`--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
@@ -42,6 +42,7 @@ Before running your app in the Android emulator from the Android SDK, verify tha
42
42
### Command Limitations
43
43
44
44
* You can run this command for one virtual device at a time. To test your app on multiple Android virtual devices, run `$ tns emulate android --avd <Name>` or `$ tns emulate android --geny <GenyName>` for each virtual device.
45
+
* When the `--release` flag is set, you must also specify all `--key-store-*` options.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/run-android.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Runs your project on a connected Android device or in a native Android emulator,
12
12
### Options
13
13
*`--device` - Specifies a connected device on which to run the app.
14
14
*`--emulator` - If set, runs the app in a native emulator for the target platform, if configured. When set, you can also set any other valid combination of emulator options as listed by `$ tns help emulate android`.
15
-
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When the `--key-store-*` options are specified, produces a signed release build.
15
+
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
16
16
*`--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
17
17
*`--key-store-password` - Provides the password for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
18
18
*`--key-store-alias` - Provides the alias for the keystore file specified with `--key-store-path`. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
@@ -24,7 +24,7 @@ Runs your project on a connected Android device or in a native Android emulator,
24
24
*`<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate android`
25
25
26
26
<% if(isHtml) { %>
27
-
###Prerequisites:
27
+
###Prerequisites:
28
28
Before running your app in the Android emulator from the Android SDK, verify that your system meets the following requirements.
29
29
* Verify that you have installed the Android SDK.
30
30
* Verify that you have added the following Android SDK directories to the `PATH` environment variable:
@@ -40,6 +40,7 @@ Before running your app in the Android emulator from the Android SDK, verify tha
40
40
### Command Limitations
41
41
42
42
* You cannot use `--device` and `--emulator` simultaneously.
43
+
* When the `--release` flag is set, you must also specify all `--key-store-*` options.
0 commit comments