Usage | Synopsis |
---|---|
General | $ tns device [<Command>] |
Lists all recognized connected Android <% if(isWindows || isMacOS) { %>or iOS devices <% } %>with serial number and index<% if(isWindows || isMacOS) { %>, grouped by platform<% } %>.
<Command>
extends the device
command. You can set the following values for this attribute.
android
- Lists all recognized connected Android physical and running Android virtual devices. <% if(isWindows || isMacOS) { %>*ios
- Lists all recognized connected iOS devices. <% } %>log
- Opens the device log stream for a selected connected device.list-applications
- Lists the installed applications on all connected Android <% if(isWindows || isMacOS) { %>or iOS <%}%>devices.run
- Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <%}%>device.
<% if(isHtml) { %>
- You can run
$ tns device ios
on Windows and OS X systems.
- You can use
$ tns devices
as an alias for$ tns device
.
Command | Description |
---|---|
device android | Lists all recognized connected physical and running virtual devices with serial number and index. |
device ios | Lists all recognized connected iOS devices with serial number and index. |
device list-applications | Lists the installed applications on all connected Android and iOS devices. |
device log | Opens the device log stream for a selected connected device. |
device run | Runs the selected application on a connected Android or iOS device. |
<% } %> |