Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.68 KB

device.md

File metadata and controls

36 lines (27 loc) · 1.68 KB

device

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<% } %>.

Attributes

<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) { %>

Command Limitations

  • You can run $ tns device ios on Windows and OS X systems.

Aliases

  • You can use $ tns devices as an alias for $ tns device.

Related Commands

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.
<% } %>