- Xamarin Mobile Application Development for Android(Second Edition)
- Nilanchala Panigrahy
- 275字
- 2021-07-16 20:32:40
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:
- From the main menu bar, navigate to Tools and open Google Emulator Manager. It will open the Android Virtual Device Manager window:
- 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.
- To edit an existing emulator, select the emulator you wish to edit and click on the Edit button:
- Note the Target setting; this specifies the version of the Android platform and the API level that will be used for the emulator.
- Select the device skin from the Device field drop-down menu. In my case, I have selected Nexus 5.
- Set the Target field to Android 4.4.2. If needed, uncheck the Hardware keyboard present option, and click on OK.
- Check the Use Host GPU option. This option makes the emulator use the host computer's OpenGL implementation, which makes the rendering significantly faster.
- 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.
推薦閱讀
- 零基礎搭建量化投資系統:以Python為工具
- Learning ArcGIS Pro 2
- JavaScript語言精髓與編程實踐(第3版)
- Arduino開發實戰指南:LabVIEW卷
- Python計算機視覺編程
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第2版)
- Ext JS 4 Web Application Development Cookbook
- Learning Salesforce Einstein
- Node.js Design Patterns
- RSpec Essentials
- Node.js 12實戰
- MATLAB GUI純代碼編寫從入門到實戰
- RocketMQ實戰與原理解析
- Python+Office:輕松實現Python辦公自動化
- Mastering SciPy