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
Lists all recognized connected devices with serial number and index, grouped by platform. In this version of the NativeScript CLI,
568
+
you can connect only iOS and Android devices.
569
+
570
+
<Command> is a related command that extends the device command. You can run the following related commands:
571
+
android - Lists all recognized connected Android physical and running Android virtual devices.
572
+
ios - Lists all recognized connected iOS devices.
573
+
log - Opens the device log stream for a selected connected device.
574
+
list-applications - Lists the installed applications on all connected Android <% if(isWindows || isMacOS) { %>or iOS <%}%>devices.
575
+
run - Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <%}%>device.
572
576
573
-
Lists all recognized connected devices with serial number and index, grouped by platform. The NativeScript CLI recognizes running Android virtual devices as connected devices.
577
+
--[/]--
578
+
579
+
--[device|android]--
580
+
Usage:
581
+
$ tns device android [--timeout <Milliseconds>]
582
+
583
+
Lists all recognized connected physical and running virtual devices with serial number and index.
574
584
575
585
If a connected Android device is not shown in the list, make sure that you have installed the required Android USB drivers on your system
576
586
and that USB debugging is enabled on the device.
@@ -580,10 +590,18 @@ Options:
580
590
The operation will continue to wait and listen for newly connected devices and will list them
581
591
after the specified time expires. If not set, the default value is 4000.
582
592
583
-
<Command> is a related command that extends the device command. You can run the following related commands:
584
-
log - Opens the device log stream for a selected connected device.
585
-
list-applications - Lists the installed applications on all connected Android or iOS devices.
586
-
run - Runs the selected application on a connected Android or iOS device.
593
+
--[/]--
594
+
595
+
--[device|ios]--
596
+
Usage:
597
+
$ tns device ios [--timeout <Milliseconds>]
598
+
599
+
Lists all recognized connected iOS devices with serial number and index.
600
+
601
+
Options:
602
+
--timeout - Sets the time in milliseconds for the operation to search for connected devices before completing.
603
+
The operation will continue to wait and listen for newly connected devices and will list them
604
+
after the specified time expires. If not set, the default value is 4000.
0 commit comments