In setting this up, I ran adb version which printed adb: unknown command version. That looks very much like the error when your shell can't find the executable in your path. It took me more than a second to notice the error wasn't that adb wasn't found, it was that adb didn't know what to do with version as an argument.
In setting this up, I ran
adb version
which printedadb: unknown command version
. That looks very much like the error when your shell can't find the executable in your path. It took me more than a second to notice the error wasn't thatadb
wasn't found, it was thatadb
didn't know what to do withversion
as an argument.