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 - Android Tutorial
From the course: Android Development Essential Training: Your First App with Kotlin
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
-
-
-
-
Create your first Android app3m 49s
-
(Locked)
Upgrade the Kotlin plugin3m 18s
-
(Locked)
Explore Android Studio4m 1s
-
(Locked)
Create virtual devices for testing3m 46s
-
(Locked)
Install device drivers on Windows2m 38s
-
(Locked)
Set up debugging on a physical device2m 42s
-
(Locked)
Use Android command-line tools2m 51s
-
(Locked)
Find answers in the documentation3m 40s
-
-
-
-