Commit fb95edd
authored
[Xamarin.Android.Tools.AndroidSdk] Add Android Studio's Android SDK paths (#266)
We already had code looking for this path on macOS:
~/Library/Android/sdk
This is where Android Studio installs its Android SDK. Unfortunately,
windows is at `%localappdata%\Android\Sdk` and we had no code looking
for it! I also added a path for Linux.
This will also do a `Directory.Exists()` check before returning the
new paths.
We will also have to probe for these locations *last* to preserve
existing behavior.1 parent ca74eba commit fb95edd
File tree
2 files changed
+8
-1
lines changed- src/Xamarin.Android.Tools.AndroidSdk/Sdks
2 files changed
+8
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments