Android

First Virtual Device

by Oleg Skidan on 12th February 2018

Let's create our virtual device.

  1. Click on the AVD Manager icon in our toolbar.
    AVD Manager
  2. This screen will show all the virtual devices that we have created. Press the button for creating a new device.
    New Virtual Device
  3. On the screen that appears, we can select one of the device types (TV, smartphone, tablet, etc.), as well as a specific device. Each device contains the main characteristics of a real device, namely the physical stuff, the size of memory, the screen and so on. If for any reason we are not satisfied with the devices that are offered to us, we can create our configuration with the New hardware profile button. Choose any device, for example Nexus 5X (or whatever you want).
    New Hardware Profile
  4. Next, you will see the screen for selecting the operating system version. You can select one of the versions of OS that we have downloaded or download a new one using SDK Manager. You may notice that some versions have the phrase "(Google Play)" in the Target field. Choose only those versions. This is essential for the operation of many components, especially maps. In addition, you see three different tabs, such as recommended versions, x86 versions (suitable versions of x86 and x64 environments) and others.
    OS Version
    It is important to note the last tab, since it will be useful to those who have a non-Intel processor on their computer, such as AMD. Also you can see the warning screen, as in the screenshot, notifying about problems with virtualization. There can be many such problems (virtualization, uninstalled Intel HAXM), but they are solved by pressing the hint below this problem. If there is no solution, you will see a help. Select the OS version with Google Play and click Next.
  5. Then you can specify the name of the device and view its settings related to the appearance, location and other settings (file storage, emulation and so on). That is all that can be configured in a real device. Set up and click Finish.
    New Virtual Device

The device is created! It can be launched directly from the AVD Manager by clicking on the start button. When starting this device, we can change its state manually (rotate, specify coordinates, temperature, rotation angle, etc.). This is all available using the settings on the right.

The next step is to learn basics of Android Development. I will cover that in my next article.

Post a comment

Comments

Nothing yet..be the first to share wisdom.