
上QQ阅读APP看书,第一时间看更新
Creating Android Virtual Device (Optional)
When we install Android SDK, it allows you to create a virtual device (an emulator) to help perform the development and testing locally without buying a physical device. The following steps will help you to create an emulator:
- Launch AVD Manager (using the terminal, type in command android avd).
- Click on "Create...".
- Enter an AVD Name.
- Select a target Device from the dropdown.
- Select an API level by clicking on the dropdown next to Target.
- Click on the dropdown next to CPU/ABI and select a value from the dropdown.
- Choose a Skin.
- You can alter the RAM size in Memory Options; it generally defaults based on the device selected.
- Press OK:

Once the Android Virtual Device is created, it will show up in the AVD manager. We have the option of performing operations, such as Start, Edit, Repair, and Delete, on the Android Virtual Device.
Let's take a look at an emulator (Genymotion) other than Android Virtual Device, which is a much better performant compared to the android ones. We can rely heavily on the Genymotion emulator for our day-to-day testing and development activities.