Developer Console

Install and Run the Debug APK to Test Your App (Fire TV)

Once you submit your web app for review, Amazon turns it into an APK (Android application package file), which is the format needed for distribution on the Amazon Appstore. To download a copy of the APK: Go to your application on the developer portal, click App Services, and then Debug Package. You can use this APK for testing and debugging on Android-based devices, including Amazon Fire TV devices and Fire tablets.

Amazon Fire TV

Follow the instructions at Connecting to Fire TV Through ADB to get your Fire TV ready to accept Android Debug Bridge (ADB) commands.

Next, follow the command line instructions at Installing and Running Your Fire TV App to install and run your debug APK.

Other Android device

If your Android device is not a Fire TV or Fire Tablet device, use the following instructions to install and run the debug APK on your device:

  1. Follow the Android documentation at Enabling ADB Debugging to enable ADB on your device.
  2. Connect your device to your computer with a USB cable.
  3. Open a command prompt or terminal window on your computer and change directory to your Eclipse Android Development Tools SDK platform tools folder (<ADT folder>/sdk/platform-tools).
  4. Type the following commands:
    • Windows:

      adb kill-server
      adb start-server
      adb devices
      
    • Mac OS X:

      ./adb kill-server
      ./adb start-server
      ./adb devices
      

      If your device is recognized, the system will return a list of detected devices by serial number, like this:

    List of devices attached
    00D20708339406PK	device
    
  5. Run the install command where <path_to_APK> is the path to the debug APK that you downloaded to your computer:
    • Windows: adb install <path_to_APK>
    • Mac OS X: ./adb install <path_to_APK>

    If your APK is successfully installed, you will see a success message like this:

    588 KB/s (24742963 bytes in 41.073s)
    	pkg: /data/local/tmp/MyAPK.apk
    Success
    
  6. Once the debug APK is installed on the device, use the device's UI to launch the app.

Last updated: Oct 29, 2020