lecture 6 testing and debugging on a physical android device and other power user stuff

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

Upload: deshaun-mix

Post on 30-Mar-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff

Lecture 6Testing and Debugging on a

Physical Android Deviceand other Power User Stuff

Page 2: Lecture 6 Testing and Debugging on a Physical Android Device and 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.

Page 3: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff

You may need to installyour drivers manually.

This is done through theDevice Manager.

Page 4: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff

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.

Page 5: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff

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!)

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

Android Debug Bridge (adb)

Page 7: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff

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

right-click

Page 8: Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff