Looking for the answers to some common questions? You’re in the right place!
How can I download and install the Vega SDK?
To download the Vega SDK, follow the instructions in our docs: Install the Vega SDK. In the Prerequisities, you’ll see that the Vega SDK is available for Macs (Intel & M-series) along with Linux.
What is the Vega Virtual Device?
The Vega Developer Tools include the Vega Virtual Device, which is a virtual development platform, also known as a simulator or emulator, that you can use to test your Vega apps.
How do I start the Vega Virtual Device?
In the CLI, run the following command:
vega virtual-device start
Or, in VS Code, open the Command Palette (for Mac, press ⌘ + shift + p; for Linux, press Ctrl + shift + p) and select the Vega Virtual Device: Start simulator option.
What is a sample app?
The Vega sample apps are reference apps built with the Vega Developer Tools. These apps demonstrate how to implement core multimedia functionalities, such as interactive screens, a video player, search, and focus management, among others.
How do I get OTA updates for my Fire TV device?
Vega supported Fire TV devices, such as the Fire TV Select, can receive Over the Air (OTA) software updates. OTA updates are required for your device to support the latest version of Vega. After you set up your device, you will automatically receive the OTA update. If you have any trouble receiving the automatic OTA updates, check out the Troubleshooting Guide for Fire TV Stick.
How do I set up fast refresh? How do I start up Metro Bundler?
To set up fast refresh and start up Metro Bundler, please see the guide to Set Up Fast Refresh.
Does Vega offer a stable native ABI?
Yes, all native APIs that are exposed through the Vega SDK offer a stable Application Binary Interface (ABI). Applications that link against these APIs do not need to be re-compiled for new versions of the OS.
Are third-party libraries compatible with Vega?
Most pure JavaScript third-party libraries should be compatible with Vega. Check out the list of Supported Libraries and Services for more info.
How do I uninstall an application from my virtual device or Fire TV Stick?
To uninstall an app from a device, the command format is:
vega device uninstall-app --device <device name> --appName <app name> --directory <project directory>
Example:
vega device uninstall-app --appName com.amazondeveloper.myapp.main --device VirtualDevice
Check out the Vega SDK CLI Reference for more info.
How can I change the resolution of my Vega Virtual Device?
You can run this command to change the resolution of your virtual device:
vega virtual-device start --display-res=1920,1080
Check out the optional configurations for the Vega Virtual Device.
Is a full installation of the Vega SDK required?
Yes, a full installation of the Vega SDK is required. A partial installation of the SDK is not supported or documented at this time.
To avoid any issues, we recommend doing a full installation following our install guide.
How do I change the keyboard language?
The Vega TV keyboard has support for English (EN), which includes special characters for all Latin languages, and it also supports Japanese (JP).
For physical Fire TV devices, use this command to set the language to JP:
adb shell vdcm set com.amazon.devconf/system/configuration/locale ja-JP
For the Vega Virtual Device, use this command to set the language to JP:
vdcm set com.amazon.devconf/system/configuration/locale ja-JP
How do I create a new Vega application from scratch?
You can follow the Build Your App guide to create a new Vega application from scratch.
Will React Native dependencies work out of the box?
Pure JavaScript packages should work out of the box.
Packages that have native dependencies will need to be ported.
What is the difference between Kepler and Vega?
Kepler is an older codename for Vega. As of version 0.22, all kepler commands are now vega commands, but you will still see Kepler in package names and other places. You can expect to see the term kepler less and less frequently as it is phased out.
Does Vega support the latest version of React Native?
Currently, Vega only supports React Native 0.72, but we are working on support for 0.83. Watch the announcements for further updates.
How do I check which version of the Vega SDK I have installed?
vega --version
This shows your CLI version and SDK version.
How do I update to the latest Vega SDK?
vega update
Or use vega sdk list-available to see available versions, then install a specific version.
How do I view logs from my app running on a device?
vega device log --device <device-name>
How do I list all connected devices (physical and virtual)?
vega device list
This shows all available devices you can deploy to.
What’s the difference between Debug and Release builds?
Debug builds include development tools and are larger. Release builds are optimized for production.
Use vega build (which defaults to Release) or vega build --build-type Debug for a Debug build.