The default path for the Android AVD simulator is C:\USER\USERNAME\.ANDROID\AVD, which you want to port to the D drive. The method is:
1. Create a Directory
Set up the Android_sdk_home directory under D, under which the. Android subdirectory is created (note that there is a point in front of it.) Suppose you are prompted to enter a file name, copy the directory under the original path. Then build the AVD directory under. Android. The D:\ANDROID_SDK_HOME\.ANDROID\AVD is established.
2, configure environment variables.
Open computer, properties, environment variable, system variable, new variable name Android_sdk_home (no other name), value D:\Android_sdk_home, (Note: Variable value no matter what symbol is behind HOME, contains a semicolon , point number, etc.)
3. Transplant the original AVD file
Copy the AVD device under the original path to the new path and change the original path under the. ini file to the new path.
4. Create a new AVD
Open the AVD Manager.exe,
The top is already displayed as a new path, click New, and create a new AVD device.
To change the way the Android AVD simulator creates path locations