sudo echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/lubuntu/Tools/android-sdk-linux/platform-tools
adb存在于/ home / lubuntu / Tools / android-sdk-linux / platform-tools中
然后我执行了adb start-server:
* daemon not running. starting it now on port 5037 * * daemon started successfully *
然后sudo adb install test.apk
sudo: adb: command not found
我在环境变量$PATH中添加了adb,但是sudo找不到它.
为什么?