Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The VDA command line utility lets you install, test, and debug your Vega app. VDA is a binary located in the Vega SDK at$HOME/vega/sdk/vega-sdk/main/{SDK version}/bin/tools/vda. To set up your Fire TV Stick with VDA, see Set Up Your Fire TV Stick. VDA works with the Vega Virtual Device (simulator) without additional setup.

VDA global options

Use these VDA global options, and local and shell commands to install, test, and debug your Vega app.

Serial override

To direct commands to your device or emulator with a specific serial number or qualifier, use -s. This option overrides the VEGA_SERIAL environment variable.

Device (USB)

Example:
Example output:

Device (TCP/IP)

When a device is connected through TCP/IP, use the identifier shown in the vega exec vda devices output:
Example:
Example output:

Vega Virtual Device

Example:
Example output:

VDA local commands

Devices

To list all connected devices, use devices. Add -l to list the device qualifiers.
Example:
Example output for a device connected through USB:
Example output for a device connected through TCP/IP:
Example output for the Vega Virtual Device:

Get serial number

To print the Device Serial Number (DSN), use get-serialno. For network-connected devices, this command returns the actual DSN rather than the identifier.
Example output for a USB-connected device:
Example output for a TCP/IP-connected device:

TCP/IP mode

To switch a USB-connected device to TCP/IP mode, use tcpip with a port number. The device restarts its VDA daemon to listen on the specified port. Use port 5555 or any port greater than 1024.
Example:
Example output:
After switching to TCP/IP mode, disconnect the USB cable and use connect to establish a wireless connection. For the full setup workflow, see Configure VDA Over TCP/IP.

USB mode

To return a device to USB mode, use usb. Reconnect the USB cable before running this command.

Connect

To connect to a device through TCP/IP, use connect. The device must already be configured for TCP/IP mode (see Configure VDA Over TCP/IP).
Port 5555 is used by default if you don’t specify a port number. Example:
Example output:

Disconnect

To disconnect from a TCP/IP-connected device, use disconnect. If you run this command without arguments, VDA disconnects from all TCP/IP devices.
Example:
Example output:
To disconnect all TCP/IP devices at once, run the command without arguments:
Example output:

Help

To view the help file, use vega exec vda --help.
Example output:

Kill server

To stop the server, use kill-server.

Start server

To start the server, use start-server.
Example output:

Push

To copy a file or directory to your device, use the push command. Add -p to display the transfer progress.
Example:
Example output:

Pull

To copy a file or directory from your device, use pull. Add -p to display the transfer progress, and -a to display timestamp and mode.
Example:
Example output:

Version

To view your VDA version, use vda version.
Example output:

Wait for device

To block activity until your device comes online, use wait-for-device. This helps when scripting.
Example output:

Reboot

To reboot your device, use reboot.
Example output:

VDA shell commands

Invoke the shell

The vega exec vda shell command runs a remote shell interactively, and has a number of options available.
Example output:

Other shell commands

Example:
Example output:

App management and communication tools

You can access these tools through the VDA shell:
See App Management and Communication Tools for detailed vpm, vlcm, and vmsgr commands.

Launch component shell

Each app launches one or more components. To get a list of components:
Example output:
Use the value from the application column as the <Component-id> argument in the commands below. To run a component interactively, use:
Example output:
To run a command in the component shell, use:
Example:
Example output:

High level memory

To find the high-level memory footprint of all processes in the system, use ace-memusage.
Example output:

gwsi-tool-screenshooter

To capture and save screenshots in PNG format, use:
Example:

Device logs

To print device logs to the screen, use loggingctl log:
Example:
Example output:

Last modified on July 30, 2026