xamarinvisual-studio-2022android-device-manager

Is there a way to change Android Device Manager install location?


I have two drives on my computer, but I don't have space on my default drive (C), so I now use my D drive. Yet, when I install a Wear OS Large - API 33 on the Android Device Manager to run my Xamarin app, it says that there is not enough storage on the drive. I assume this is because it is trying to install on the C drive, not the D drive. Is there a working way to change the directory that new devices are installed on?

VS Version: Visual Studio 2022

I've tried setting the ENV variable ANDROID_SDK_HOME and ANDROID_AVD_HOME (not at the same time) to a folder I made in my new documents folder: D:\<REDACTED>\Documents\Android Device Manager Devices, but it still didn't do anything, even after restarting both Visual Studio and my computer.


Solution

  • You can't change the default installation location of the Android emulator. The default installation location is on the C drive. You can change the disk.dataPartition.size and install it again. You can also check out this article to manage your emulator devices.