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
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-android.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,11 @@ Usage | Synopsis
6
6
Deploy on device, run the app start Chrome DevTools, and attach the debugger | `$ tns debug android`
7
7
Deploy on device, run the app and stop at the first code statement | `$ tns debug android --debug-brk [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
8
8
Deploy in the native emulator, run the app and stop at the first code statement | `$ tns debug android --debug-brk --emulator [<Emulator Options>] [--timeout <timeout>]`
9
-
Deploy in Genymotion, run the app and stop at the first code statement | `$ tns debug android --debug-brk --geny <Geny Name> [--timeout <timeout>]`
10
9
Attach the debug tools to a running app on device | `$ tns debug android --start [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
11
10
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [<Emulator Options>] [--timeout <timeout>]`
12
-
Attach the debug tools to a running app in Genymotion | `$ tns debug android --start --geny <Geny Name> [--print-app-output] [--timeout <timeout>]`
13
11
Detach the debug tools | `$ tns debug android --stop`
14
12
15
-
Prepares, builds and deploys the project when necessary. Debugs your project on a connected device, in a native emulator or in Genymotion.
13
+
Prepares, builds and deploys the project when necessary. Debugs your project on a connected deviceor emulator.
16
14
While debugging, prints the output from the application in the console and watches for changes in your code. Once a change is detected, it synchronizes the change with all selected devices and restarts/refreshes the application.
17
15
18
16
### Options
@@ -30,7 +28,6 @@ While debugging, prints the output from the application in the console and watch
30
28
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
31
29
*`<Port>` is an accessible port on the device to which you want to attach the debugging tools.
32
30
*`<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate android`
33
-
*`<GenyName>` is the name of the Genymotion virtual device that you want to use as listed by `$ genyshell -c "devices list"`
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/emulate-android.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ Usage | Synopsis
6
6
Run in the native emulator | `$ tns emulate android [--device <Name>] [--path <Directory>] [--timeout <Seconds>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch]`
7
7
Run in the default Android virtual device or in a currently running emulator | `$ tns emulate android [--path <Directory>] [--timeout <Seconds>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch]`
8
8
9
-
Builds the specified project and runs it in the native emulator from the Android SDK or Genymotion. While your app is running, prints the output from the application in the console.<% if(isHtml) { %>If you do not select an Android virtual device (AVD) with the `--device` option or a Genymotion virtual device with the `--geny` option, your app runs in the default AVD or a currently running emulator, if any. <% } %>
9
+
Builds the specified project and runs it in the native emulator from the Android SDK. While your app is running, prints the output from the application in the console.<% if(isHtml) { %>If you do not select an Android virtual device (AVD) with the `--device` option, your app runs in the default AVD or a currently running emulator, if any. <% } %>
10
10
11
11
### Options
12
12
*`--available-devices` - Lists all available emulators for Android.
13
13
*`--no-watch` - If set, changes in your code will not be reflected during the execution of this command
14
14
*`--path` - Specifies the directory that contains the project. If not specified, the project is searched for in the current directory and all directories above it.
15
-
*`--device` - 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 `--device` and `--geny` simultaneously.
15
+
*`--device` - Sets the Android virtual device on which you want to run your app. You can set only one device at a time.
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
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.
0 commit comments