Move default location of .android folder in Android Studio

 

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:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326066347&siteId=291194637