Step A. Enable Debugging on Amazon Fire TV
You must enable both ADB and debugging on your Fire TV device before you can connect to it:- From the main screen of your Fire TV, select Settings.
- Select Device (or My Fire TV) > Developer Options.
- Turn on ADB Debugging.
- Turn on Apps from Unknown Sources.
- (Optional) If your Fire TV supports USB, and you plan to connect your computer to your Fire TV device using a USB cable, turn on USB Debugging. Note that when USB Debugging is enabled, the USB port is unavailable for other uses such as external storage or input devices. To re-enable the USB port, turn off USB debugging.)
Step B. Set Up Android Debug Bridge
Android Debug Bridge (ADB) is a command-line utility for running and managing Android apps on your device or emulator. ADB is available when you install Android Studio, but Windows users will need to install a special USB driver. You can check to make sure ADB is installed in Android Studio by going to Tools > SDK Manager. Click the SDK Tools tab. Select and install Android SDK Platform-Tools (if it’s not already selected).- Mac
- Windows
Step C. Add Android Debug Bridge to Your Path
You need to add ADB to your PATH so you can more easily runadb commands. (Your PATH is an environment variable used to specify the location of the program’s executable. If you don’t add ADB to your PATH, running adb commands will require you to browse to the <Android SDK>/platform-tools directory to run ADB.)
- Mac
- Windows
-
Get the path to your Android SDK platform-tools directory:
-
Open Android Studio and click the SDK Manager button
. The location to your Android SDK appears near the top next to Android SDK Location. For example: /Users/<your username>/Library/Android/sdkIf this is your first time opening Android Studio, there isn’t an SDK Manager button. Instead, at the Welcome to Android Studio prompt, click Configure > SDK Manager and provide the location to the Android SDK. - Copy the path to the SDK and paste it somewhere convenient, such as a text editor.
-
Add /platform-tools to the end of the path you copied in the previous step. (“platform-tools” is the directory containing the
adbexecutable.) - Copy the full path to your clipboard.
-
Open Android Studio and click the SDK Manager button
-
Use the following command to add ADB to your .bash_profile. Replace
<your username>with your actual username. Also, make sure the path points to your Android SDK.Your.bash_profilefile is usually in your user directory, which you can find by typingcd ~(change to your user directory). Then typels -a(list all) to show all files, including hidden ones. If the file isn’t there, simply create one. You can then typeopen .bash_profileto see the paths listed. After you add this PATH to your bash profile, you should see the following in your.bash_profilefile:(Only instead ofjohndoe, you will see your own username.) -
Fully restart any terminal sessions, and then type
adb. If you successfully added ADB to your path, you will see ADB help info rather than “command not found.”
Step D: Connect to a Fire TV device through ADB
You can connect to ADB either through the network or through USB. Most Fire TV devices only allow network connections, so this is the more common approach.- Network Connect
- USB Connect
- Make sure your Fire TV device and your computer are on the same network. You can use either a wifi network or a wired network. You can check the network your Fire TV is on by going to Settings > Network.
- Now get the IP address of your network. From Settings, go to Device (or My Fire TV) > About > Network. Make a note of the IP address listed on this screen.
- Open a terminal window. On a Mac, you can open Terminal by pressing Cmd + spacebar and then typing Terminal. On Windows, you open the Command Prompt usually by typing cmd in your program search. (The exact steps vary based on your Windows version.)
-
Run the following command, where
<ipaddress>is the IP address of the Fire TV device noted in the previous section. The<port>can be any number within the 5555 to 5585 range.For example:The first time you runadb connect, Fire TV will show a screen that says “Allow USB debugging?”If you don’t allow USB debugging, Fire TV won’t authorize the ADB connection. Select the Always allow from this computer check box, and then click OK. If the ADB connection was successful, ADB responds with the message:
Allow USB debugging?
If you need to stop or restart the server, use these ADB commands: -
Verify that the Fire TV device appears in the list of devices:
ADB responds with a message like this:(where
10.49.172.51is your IP address.)
adb devices, or you get a message saying unable to connect, you will need to troubleshoot ADB.Troubleshooting
If you receive a message such as the following:- Make sure both Fire TV and your computer are using the same network.
- When connecting wireless with
adb connect <ipaddress>, make sure you’re typing the IP address correctly, with all the required dots. - Close Android Studio and any other emulators or USB cable connections.
- Stop (
adb kill-server) and restart (adb start-server) the server. - Restart Fire TV (Settings > Device [or System] > Restart).
- Restart your router.
- See if another service is blocking ADB.
- Read through the Android Debug Bridge (ADB) on Android
- Search online for the error message you’re seeing.

(next to Start) and type view advanced system settings.