Installing and Running Your App

To test and debug your Amazon Fire TV app before submitting it to the Amazon Appstore, use Android Debug Bridge (adb) to install and run your app on your Fire TV device. Installing your own app (outside of the Appstore) is sometimes referred to as "sideloading"
an app.

To re-install an app that already exists on the device, you can use the -r option to reinstall the app:

adb install -r <path-to-apk-file>

Note that reinstalling an app does not replace any existing additional user data or cache. To clear this data, uninstall the old app before installing a new version, or clear the data by hand in System > Applications.

Running Your App (Device)

Sideloaded apps appear in both the Recent row and in the My Library row in the Apps section. You can also find your app in the Settings menu:

Note: If you have a generation 1 device, some of the menus may be slightly different.

Running Your App (Command Line)

To send a launch intent to your app on the Amazon Fire TV device, use the following command, where com.amazon.sample.helloworld is the package name of your app, and MainActivity is the name of your app's primary activity.

adb shell am start -n com.amazon.sample.helloworld/.MainActivity

adb responds with a message similar to the following, and your app begins running: