Top Banner
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.

Mar 30, 2015

Download

Documents

Deshaun Mix
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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.