I'm trying to free up some disk space and so would like one copy of the Android SDK only, aside from not wanting to maintain two of them. Currently I have one installed for each Android Studio and Visual Studio.
I noticed that there is now a separate, Xamarin specific Android SDK manager that Visual Studio uses in place of the one provided by the Android SDK itself.
Also, Visual Studio's Android NDK is located at "C:\ProgramData\Microsoft\AndroidNDK". I don't recall installing it there specifically (probably used a default location), but suppose Android Studio could be pointed at it as well.
Yes for sure, when install visual studio 2017 you can mark in sdk global in individual components tab, and at the end its a path you referring to it in visual studio and android studio. If you talk about manage this sdk, visual studio 2015 and older versions of visual studio 2017 uses same android sdk manager but lately there is a new sdk manager related to visual studio only not shared between android studio and visually studio
Yes, you can. There is no problem at all. You can specify custom SDK path in both Android studio and Visual studio.
The answer is Yes, I have done this for a long time and it works fine.
In Visual Studio, Xamarin Android SDK default location is:
In Android Studio, SDK default location is:
Use Visual Studio Android SDK only
You could refer to my answer:
Open Android Studio, go to
File
->Project Structure
Change the SDK location to your Visual Studio SDK Location
C:\Program Files (x86)\Android\android-sdk
CMD
as Administrator and type:mklink /J C:\Program-Files-(x86) "C:\Program Files (x86)"
, like this.Use Android Studio Android SDK only
You just need change Xamarin Android settings as the above picture. You could find it in:
As @Muhammad said, it won’t broke anything.