How to make Visual Studio 2015 installer know that I already have Android SDK?

后端 未结 4 1316
情话喂你
情话喂你 2020-12-08 01:33

When I am installing Visual Studio 2015 I realized that it says Java SE Development Kit is already exists on the computer. I think installer knew it because of

4条回答
  •  温柔的废话
    2020-12-08 02:00

    Visual Studio 2015 installer doesn't use ANDROID_SDK_HOME environment variable to detect SDK. You have to create the following registry entry.

    • Open REGEDIT and navigate to HKEY_LOCAL_MACHINE\SOFTWARE. You have to add new key Android SDK Tools (if not already present) by right clicking SOFTWARE.

    • Now add a new String Value Path by right clicking Android SDK Tools and enter path of android sdk as its value

    I have tested it and visual studio 2015 installer successfully detected my existing Android SDK

    Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=859#c18

提交回复
热议问题