Creating Android Virtual Device (AVD)

  • Now we are ready to launch out first android application. To run the application, we need an emulator called AVD.
  • Now we have to create the AVD and choose the configuration setting for the AVD.
  • AVD is a virtual Android device which is able to perform such operation like walk, talks, and act like a physical Android device.
  • To configure the AVD to run any version of Android, the SDK must be downloaded and installed.
  • There are some steps to create the AVD in Eclipse as follows:
    • Go to Window => Android Virtual Device Manager.
    • Now Android Device Manager Dialog box will be open and now we have to click on New button to create the AVD.
    • When we click on New button then Create New Android Virtual Device (AVD) wizard shows as follows:
    • In this, we have to give the name for AVD.
    • Here we have to select the device such as Nexus One.
    • When we specify the Device then target and CPU/ABI will be automatically selected by the Eclipse.
    • Now click on OK button.
    • Now Android Virtual Device Manger dialog box will be displayed as follows:
    • Now we have to select the AVD Name then click on Start button, now launch option dialog box will be displayed as follows:
    • We can change the size of screen by checking the Scale display to real size then specify the Screen size, Monitor dpi. If we want to use default screen size then click on Launch button.
    • Now start emulator process will take place after that AVD will be shown
    • Now click on OK button, now AVD is ready for run the application.
    • Now AVD looks like as follows: