mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-22 09:29:38 +00:00
adb start doesn't work on Linux #34
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmarcgit on 9/12/2021
Hi,
I had a look at the source code and it looks like that the automatic adb startup only works for Windows machines when the ANDROID_HOME env variable is set. (note that ANDROID_SDK_ROOT replaced ANDROID_HOME lately)
I think it could make sense to add an adbPath parameter to the extension. For instance in Debian you can install the adb command without installing the full SDK. Setting adbPath:adb would just work in that case.
Or of course you could consider to support Linux like systems building the adb path from the env variable. I think you would prefer this solution.