Robin Rodricks
Robin Rodricks

Reputation: 114046

How do I move the Android SDK folder installed with Visual Studio 2017?

I've installed VS 2017 in its default path (C drive) but its used up most of my drive space due to the large Android folder at C:\Users\USERNAME\Local\Android. This folder was auto created by the VS 2017 installer. How do I move it to another drive and have VS detect it?

I've tried these solutions and they don't work with VS 2017.

Upvotes: 17

Views: 19501

Answers (3)

Alex Pimenta
Alex Pimenta

Reputation: 21

I hope you be fine. I had the same problem.

After last update all, every was restored to write. Try include Android SDK using Visual Studio Installer.

And remember. VS must be opened as Administration always.

Image of VS Installer for simple reference

Upvotes: 0

Ian Ho
Ian Ho

Reputation: 21

Please be reminded you also need to change the Start Menu shortcut of SDK Manager and ADK Manager. It is especially important if you "copy" the SDK files to new location. Your old shortcuts are still valid and opening SDK Manager from Start Menu will haunt you with the old SDK path.

Upvotes: 0

Robin Rodricks
Robin Rodricks

Reputation: 114046

I found the answer at last. Changing the ANDROID_SDK_HOME environment var had no effect. The only way is moving the folder by hand, and then changing the Android SDK path setting under Options > Xamarin > Android Settings.

settings

Upvotes: 39

Related Questions