You should run your app on Fire tablets so that you can assess on-device performance and customer experience. During development, you can use the test criteria in the Understanding Appstore Submission to help validate your app. The following procedures show how to load and run your app on a Fire tablet.
To run an Android Studio project on your Fire tablet, do the following:
On the Run menu, click Run app.
In the Choose Device window, select the Fire tablet where you want to install and run the app, and click OK.
From the command line
To sideload the APK for your app onto your Fire tablet, do the following:
Open a command prompt window or terminal shell.
From the command line, change directory to your Android SDK platform-tools directory.
Run the following command:
adb devices
Confirm that the Fire serial number appears in the device list. For example, you should see a list that looks similar to the following: List of devices attached B0C987654321012C device.
If the list is empty, see Connect to Fire Tablet through ADB.
Run the following command:
adb install <APK_path>
For <APK_path>, specify the file system path to the APK. For a built Eclipse project, the APK path is in the bin directory for the project. Alternatively, the path can be to an APK saved elsewhere on the development computer.
From your Fire tablet user interface, run the app.
Uninstall an App
From a Fire tablet
To uninstall an app from the user interface on a Fire tablet, do the following:
Tap and hold the icon for the app.
Tap Remove from Device.
Tap OK.
From the command line
To uninstall an app from your Fire tablet using the command line, do the following:
Make sure that your Fire tablet is connected to your development computer.
On the development computer, open a command prompt window or terminal shell.
Change directory to your Android SDK platform-tools directory.
If you do not know the package name of the app you want to uninstall, run the following command to show the package names on the tablet:
adb shell pm list packages
For information about filtering the Package Manager output, run adb shell pm.
Run the following command:
adb uninstall <package_name>
For example, to uninstall an app with package name com.example.amazon.hello, run adb uninstall com.example.amazon.hello. If the package is successfully uninstalled, the adb uninstall command returns Success.
Copy a File
Do the following to copy a file from your development computer to your Fire tablet.
From Android Studio
From the Tools menu, click Android, and then click Android Device Monitor.
On the Devices tab, select the Fire tablet.
On the File Explorer tab, navigate to the folder where you want to copy the file.
Click Push a file onto the device
From the command line
On the development computer, open a command prompt window or terminal shell.
Change directory to your Android SDK platform-tools directory.
You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.