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 Vega Device Adapter (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

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

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

To manage device connections, transfer files, and control the VDA server, run these commands from your development machine.

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 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 the same device connected through TCP/IP:

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

Before you run this command, reconnect the USB cable.

Connect

To connect to a device through TCP/IP, use connect. Configure the device for TCP/IP mode first (see Configure VDA Over TCP/IP).
If you don’t specify a port number, VDA uses port 5555. Example:
Example output:
Example output when the connection fails:
A timeout usually means Developer Mode isn’t enabled or the host and device aren’t on the same network. For the full list of causes, see Fix VDA Connection and Power Issues.

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 text, 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 push. 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 version.
Example output:

Wait for device

To pause a script until the device is ready to accept commands, use wait-for-device.
Example output:

Reboot

To reboot your device, use reboot.
Example output:

VDA shell commands

These commands run on the device through the VDA shell.

Invoke the shell

The vega exec vda shell command runs a remote shell interactively and supports several options.
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 following commands. 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:

Capture a screenshot

To capture and save screenshots in PNG format, use gwsi-tool-screenshooter.
Example:

Device logs

To print device logs to the screen, use loggingctl log:
Example:
Example output:
Last modified on August 27, 2026