

Virtual devices allow you to test your application without having to own any physical devices.Īndroid Studio should be installed on your machine. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.In this post, we will learn how to create an Android virtual device using the AVD Manager. c argument is not available when listing all three optionsĬontent and code samples on this page are subject to the licenses described in the Content License. Include the -cĪrgument to receive a compact output suitable for scripts. List all available targets, device definitions, or AVDs. -r new-name: The new name of the AVD being.You mightĬhoose not to include this argument if you want to rename the AVD in You don't include this argument, the AVD won't be moved. Which to create the directory where this AVD's files will be moved. -p path: The absolute path to the location at.


That you want to simulate in the Android Emulator.

An AVD lets you define theĬharacteristics of an Android handset, Wear OS watch, or Android TV device The avdmanager is a command-line tool that lets you create and manageĪndroid Virtual Devices (AVDs) from the command line.
