As you develop Android Studio apps, you'll notice certain apps need to be debugged on a physical device rather than a virtual one. Connect the physical mobile device to a PC, and install all necessary USB drivers; you will then need to use a program called TightVNC Viewer to test the device on-screen. This video goes through the steps necessary to use a physical device for testing.
…Many Android developers prefer to develop and test with physical devices, and there…are certain kinds of apps that you have to debug on a physical device.…Connecting a physical device to Android Studio…is pretty much the same as in Eclipse.…On Windows, you need to make sure that…you've installed the USB driver for your device.…And then you just plug it in.…Let's see what happens in Android Studio.…I still have my emulator up and running.…It's labeled 5554:Nexus_4.…
And I also have an actual Nexus 4 attached to my computer.…I'm viewing it through an application called TightVNC.…This is a real, physical device.…Now let's see what happens when I plug it in.…The first time you plug in the device with USB…debugging turned on, you might see this RSA key fingerprint dialogue.…I'll touch OK.…And now my device is connected to my Android debug environment.…I'll come back to Android Studio, and I'll…move my cursor down to the lower left corner.…
Now, you may not be seeing the link I'm showing down…here, but if you don't, you'll see them in a moment.…
Note: This course was revised on 8/20/2014 to reflect changes in the .0.8.4 beta version of Android Studio.
- Exploring Android Studio and IntelliJ IDEA
- Installing Android Studio
- Creating projects with Android Studio
- Navigating the user interface
- Designing activity layouts
- Analyzing and refactoring code
- Debugging and packaging apps
Skill Level Beginner
Q: This course was updated on 8/20/2014. What changed?
A: We revised this course to reflect changes to the Android Studio beta, released at the 2014 Google I/O conference. This update was recorded with Android Studio .0.8.4, which contains a new project wizard and updates to the Gradle build system. For more information about the changes in this course, check out the "What's new in this update" movie.