From the course: Android Development Essential Training: Your First App with Kotlin

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set up debugging on a physical device

Set up debugging on a physical device - Android Tutorial

From the course: Android Development Essential Training: Your First App with Kotlin

Start my 1-month free trial

Set up debugging on a physical device

- [Narrator] Whenever I have a choice, I always use a physical device to test and debug my apps. That's because it's faster and more reliable. You'll get a better sense of how your app will really behave on a physical device compared to a virtual device. The first step is to connect your device to your development computer using a USB cable. Then, to find out whether the device is already set up for debugging, go to your 'Logcat' window. If you see 'No connected devices', then that means you have some set up to do. I'm demonstrating this using a Pixel device, running Android 9.0. The location of some of the menu choices I'm going to show will differ depending on the vendor and the version of Android. But the basic steps steps usually look like this. First, go to Settings. Now go to your System, and from there on Android 9.0 go to Advanced. Scroll until you find the Build number, and then touch Build number seven times. Each time you press it you might see a message such as, 'You are…

Contents