-1

I use both Xamarin and Java for android development. I want them use the same SDK to save disk space. By default, VS Installer install the android sdk in C:\Program Files (x86)\Android\android-sdk, which contains whitespaces. Android studio cannot perform with sdks installed in whitespaced path, as it causes problems with Android NDK.

1 Answers1

0

I think you could try to move SDK to AS SDK folder. It's in C:\Users{username}\AppData\Local\Android\Sdk.

In VS, you could open SDK manager in Tools->Android->Android SDK manager. Then change the default folder.

enter image description here

Billy Liu - MSFT
  • 2,168
  • 1
  • 8
  • 15
  • When I open SDK manager, it popups Google's android SDK manager, which the text of path is grey and I cannot modify it. Then I tried to install Xamarin SDK manager. In that I finally made it. – geneLocated Apr 21 '18 at 14:35
  • I also find another way. It's possible to change this in Tools>Options>Xamarin>Android Settings. – geneLocated Apr 21 '18 at 14:38