關鍵字
PyCharm 中執行命令提示 command not found
/bin/sh: adb command not found
/bin/sh: *** command not found
解決方案
網上好多答案都太不靠譜了,其實很簡單
前提
本地終端中執行adb 或者其它命令是ok的
復制本地的$PATH
值
- 打開終端或者iTerm
- 執行命令
echo $PATH
打開PyCharm
替換下PyCharm
中的$PATH
值即可
image.png
image.png
替換一下這個值即可
image.png
祝你好運
試試看,是否搞定了, 如果有問題的話, 重啟pycharm試試