Book Image

Xamarin Mobile Application Development for Android, Second Edition

Book Image

Xamarin Mobile Application Development for Android, Second Edition

Overview of this book

Table of Contents (18 chapters)
Xamarin Mobile Application Development for Android Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Debugging with an Android device


Apps can be executed and debugged on actual devices with the same simplicity of working with an emulator. To prepare for using a physical device, you need to perform a few steps as follows:

  1. Enable USB debugging on the device.

  2. Install an appropriate USB driver for the device (Windows only).

Enabling USB debugging

In order to enable USB debugging on a device with Android 4.0 and newer, perform the following steps:

  1. For devices running Android 4.2 or newer, there is an extra step; Developer options are initially hidden. Navigate to Settings | About phone and tap Build number seven times. On some configurations, the exact menu structure may differ. On my HTC One with Android 4.3, the menu is Settings | About | Software information | More.

  2. Navigate to Settings | Developer options.

  3. Click on USB debugging.

Installing a USB driver

Windows users are required to install a USB driver provided by the device's manufacturer. You can refer to the Android developer website under a...