Repository navigation
Commit 37e4804
fix(desktop): carry ANDROID_HOME through from the login shell
A GUI launch inherits no shell rc, so `ANDROID_HOME` and `ANDROID_SDK_ROOT`
exported from a profile never reach the app. The device host falls back to the
default SDK locations, and when the SDK lives anywhere else it reports "Android
SDK was not found. Install it with Android Studio or set ANDROID_HOME to your
SDK directory" — to a user who has already done exactly that.
Add both names to the POSIX login-shell hydration, alongside the existing
HOMEBREW_* and XDG_* entries. Windows reads user variables from the registry
and already inherits them.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 20363c3 commit 37e4804
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
132 | 152 | | |
133 | 153 | | |
134 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
466 | 471 | | |
467 | 472 | | |
468 | 473 | | |
| 474 | + | |
| 475 | + | |
469 | 476 | | |
470 | 477 | | |
471 | 478 | | |
| |||
0 commit comments