Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff.

Post on 30-Mar-2015

217 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

Transcript

Lecture 6Testing and Debugging on a

Physical Android Deviceand other Power User Stuff

The first step is to locate and install the USB drivers for your Android device. For this example wewill use the Asus Nexus 7 Tablet.

You may need to installyour drivers manually.

This is done through theDevice Manager.

Make sure target device is connected and has USB Debugging enabled...

Choose Run Configurations, click on the Target tab and select Always prompt to pick device.

With target device connected to host computer via USB, click Run under Run menu and then select the running Android device. Your application should (almost) immediately appear on device and begin running. (Woo hoo!! Goodbye emulator!)

Android Debug Bridge (adb)

Adding Platform-Tools, Tools, and Eclipse to the Path

right-click

top related