Reprinted from Dev Tools Build: .android folder move default location
The .android folder is a folder for storing avd emulator files.
Because the default is C drive . It takes up a lot of space. It's very uncomfortable
. It's actually very simple to move it to another drive. It
only takes one step:
1. Configure the environment variable ANDROID_SDK_HOME
The content of the variable is the sdk folder
After the configuration is complete, the emulator will automatically download the
avd !
Paste a picture below: