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

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.
主站蜘蛛池模板: 桐庐县| 本溪| 金山区| 巴彦县| 乐业县| 当雄县| 抚远县| 南澳县| 堆龙德庆县| 山丹县| 泰兴市| 宜章县| 昭苏县| 澄江县| 民丰县| 金昌市| 镇雄县| 太康县| 盘山县| 平远县| 武平县| 农安县| 玉龙| 泰安市| 吴堡县| 连城县| 全州县| 连南| 新化县| 台北市| 浦城县| 化州市| 金川县| 开封市| 抚州市| 盘山县| 尼玛县| 黑山县| 社会| 那曲县| 鲁山县|