Setting Up Your Development Environment
To start developing Android-based Fire TV apps for the Amazon Fire TV platform, you need to first set up your development environment.
Set Up the JDK
You need the Java Development Kit (JDK) from Oracle to compile Java apps on your machine.
First check to see if you already have the JDK. Open Terminal or Command Prompt and type
java -version. If you have the JDK, the response should be something like this:
java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
If you don't have the JDK, download the version of the JDK Installer for your machine from Java SE Development Kit Downloads and run it.
For more details, see the following:
- 10 JDK 8 Installation for OS X
- JDK Installation for Microsoft Windows. Specifically, see "Running the JDK Installer" and "Updating the PATH Environment Variable."
For other operating systems and information, see JDK 8 and JRE 8 Installation Start Here.
Set Up Android Studio
Install Android Studio, the official IDE for Android projects. See Getting Started with Android Studio and Install Android Studio for information about setting up the Android Studio development environment on your machine.
To connect your development computer to your Amazon Fire TV device with adb, see Connecting to Fire TV Through adb.
To install and run apps you develop on your Amazon Fire TV device, see Installing and Running Your App.