Android Virtual Devices
Android Virtual Devices (AVD) will enable us to test the code using Android emulators. It lets us pick and choose various Android system target versions and form factors needed for testing.
Launch Android Virtual Device manager from Tools | Android | AVD Manager.
From the AVD Manager window, click on the Create New Virtual Device button in the bottom left and proceed to the next screen and select the Wear category:
Select Marshmallow API Level 23 on x86 and leave everything else as the default settings, as shown in the following screenshot:
Note
Note that the current latest Android version is Marshmallow of API level 23 at the time of writing. It may or may not be the latest version while you are reading this chapter. Feel free to select the latest version that is available during that time. Also, if you'd like to support or test in earlier Android versions, feel free to do so on that screen.
The configuration window will appear after clicking the Next button:
After...