4.11 Moving and Renaming an Android Virtual Device
The current name or the location of the AVD files may be altered from the command line using the avdmanager tool’s move avd argument. For example, to rename an AVD named Nexus9 to Nexus9B, the following command may be executed:
avdmanager move avd -n Nexus9 -r Nexus9B
To physically relocate the files associated with the AVD, the following command syntax should be used:
avdmanager move avd -n <avd name> -p <path to new location>
For example, to move an AVD from its current file system location to /tmp/Nexus9Test:
avdmanager move avd -n Nexus9 -p /tmp/Nexus9Test
Note that the destination directory must not already exist prior to executing the command to move an AVD.