Whenever possible, I recommend testing your apps with physical devices. You'll get a more realistic sense of how your app will behave in your users’ hands. And there are many things a physical device can do that are difficult to emulate with a virtual device. For most of this course, I'll be demonstrating my sample apps with this Nexus 5X cell phone running Android 7 Nougat. I’m projecting the phone’s screen to my computer’s screen, but it really is an actual phone.
- [Voiceover] Once you've connected your device…to your computer with the USB cable…and set up the device driver, if necessary,…you can then configure it with USB debugging,…a tool in the Android operating system…that lets your device communicate back to your…development environment as it's running your apps.…To find out whether your device is already connected,…go to Android Studio and click on the Android Monitor tool…and pull down the list of available devices.…Right now, I have a Google Nexus 5X attached to my computer…and I'm projecting its screen to my computer…using a product named Reflector 2.…
That's what the screen looks like right now,…but the device isn't showing up in Android Studio.…Another way to do that is to go to a command prompt,…then, switch to your Android SDK directory.…From there, switch to a directory named Platform Tools.…This directory contains a variety of applications.…On Windows, they end with .exe, and on Mac they won't,…but they're the same applications.…I'm looking for an application named ADB.…
- Installing Android Studio
- Creating your first Android Studio project
- Managing profile files, including Gradle scripts and support libraries
- Defining screens with activities
- Implementing designs in XML layouts