Commit fc1a883
[Xamarin.Android.Tools.AndroidSdk] Export JAVA_HOME, PATH on Windows (#30)
Context: https://paper.dropbox.com/doc/OpenJDK-and-You--AH1yWKdVXgno~uXYfmcUAZTwAg-NoECAe2XkBQeoxFfGL6ea
On Windows, set the `%JAVA_HOME%` and `%PATH%` environment variables
so that they contain the `AndroidSdkInfo.JavaSdkPath` value.
This ensures that related tools *launched from Visual Studio*, such
as the Android Device Manager, use the same
`AndroidSdkInfo.JavaSdkPath` value as the rest of the Xamarin.Android
tooling, and not whatever system-wide `%JAVA_HOME%` value may have
been previously set.1 parent 5c5f74f commit fc1a883
File tree
1 file changed
+21
-0
lines changed- src/Xamarin.Android.Tools.AndroidSdk/Sdks
1 file changed
+21
-0
lines changedLines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
225 | 246 | | |
226 | 247 | | |
0 commit comments