Install and Run the Debug APK to Test Your App
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. A copy of the APK is available for download from the Debug Packages link on the developer portal. You can use this APK for testing and debugging on Android-based devices, including Amazon Fire TV devices and Fire tablets.
Amazon Fire tablet
Follow the instructions at Connect to Fire Tablet through ADB to get your Fire tablet ready to accept Android debug bridge (ADB) commands.
Next, follow the command line instructions at Running Your App on a Fire Tablet 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:
- Follow the Android documentation at Enabling ADB Debugging to enable ADB on your device.
- Connect your device to your computer with a USB cable.
- Open a command prompt or terminal window on your computer and change directory to your Eclipse Android Development Tools SDK platform tools folder (
- Type the following commands:
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
- Run the install command where
<path_to_APK>is the path to the debug APK that you downloaded to your computer:
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
- Once the debug APK is installed on the device, use the device's UI to launch the app.