官术网_书友最值得收藏!

Creating Android Virtual Devices

The Android emulator, also known as Android Virtual Device (AVD), is used to test the Android application in the absence of a device. Emulators get installed as part of the Xamarin installation. You can create your own emulator or customize an existing one with the required device configurations for the device being emulated.

In order to create or modify an existing emulator, perform the following steps:

  1. From the main menu bar, navigate to Tools and open Google Emulator Manager. It will open the Android Virtual Device Manager window:
    Creating Android Virtual Devices
  2. To create a new emulator, click on the Create button, on the right-hand side panel. Provide the configurations, such as AVD Name, Device, Target, Memory Options, and so on.
  3. To edit an existing emulator, select the emulator you wish to edit and click on the Edit button:
    Creating Android Virtual Devices
  4. Note the Target setting; this specifies the version of the Android platform and the API level that will be used for the emulator.
  5. Select the device skin from the Device field drop-down menu. In my case, I have selected Nexus 5.
  6. Set the Target field to Android 4.4.2. If needed, uncheck the Hardware keyboard present option, and click on OK.
  7. Check the Use Host GPU option. This option makes the emulator use the host computer's OpenGL implementation, which makes the rendering significantly faster.
  8. You may select the Snapshot option to speed up the emulator's boot time. When this option is enabled, it saves a snapshot of its RAM on the first boot and restores from that snapshot on future use. You cannot have both the Snapshot and Use Host GPU options enabled at the same time.
主站蜘蛛池模板: 汉寿县| 新宁县| 措勤县| 郸城县| 铅山县| 东兰县| 巴青县| 华容县| 尤溪县| 司法| 西乌珠穆沁旗| 保康县| 上高县| 惠安县| 四子王旗| 辽阳市| 宜兰县| 南乐县| 仙居县| 安西县| 光山县| 博野县| 永嘉县| 巴林右旗| 措勤县| 鸡东县| 遵义县| 黔西| 乐山市| 集安市| 青阳县| 小金县| 高州市| 方山县| 厦门市| 晋宁县| 柞水县| 定州市| 余江县| 宣恩县| 叶城县|