Skip to content

Commit 36e574c

Browse files
authored
[Xamarin.Android.Tools.AndroidSdk] Remove hardcoded Path (#248)
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2341994 Context: xamarin/androidtools@94e46bc Remove the hardcoded path `C:\android-sdk-windows` from the list of backup paths to check when scanning for the Android SDK. This path was first added in xamarin/androidtools@94e46bcc, with no explanation for *why* that was the backup path. Perhaps that was the convention at the time?
1 parent f62cd09 commit 36e574c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Xamarin.Android.Tools.AndroidSdk/Sdks/AndroidSdkWindows.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ protected override IEnumerable<string> GetAllAvailableAndroidSdks ()
106106
: Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ProgramFiles), "Android", "android-sdk"),
107107
Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData), "Android", "android-sdk"),
108108
Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData), "Android", "android-sdk"),
109-
@"C:\android-sdk-windows"
110109
};
111110
foreach (var basePath in paths)
112111
if (Directory.Exists (basePath))

0 commit comments

Comments
 (0)