Commit 4269384
committed
Fix getting adb version when ANDROID_HOME is not set
In case ANDROID_HOME is not set, trying to get adb version leads to error. Fix this by checking the value of pathToAdbFromAndroidHome. In case it is not set, return null.1 parent 72a4417 commit 4269384
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
| |||
0 commit comments