我正在努力开发的机器人,我想添加到我的 PATH
的 adb
,这样我就可以启动它真的很容易。由于某种原因,我之前已经添加了目录 adb
不想被找到。真是令人沮丧。以前有人遇到过这种问题吗?
我创建了一个文件 .profile
,并向其中添加了以下内容。
export PATH = ${PATH}:/Users/simon/Libs/android-sdk-mac_x86/platform-tools/
export PATH = ${PATH}:/Users/simon/Libs/android-sdk-mac_x86/tools
当我检查我的环境路径时,我看到以下内容:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Libs/android-sdk-mac_x86/tools:/Libs/android-sdk-mac_x86/platform-tools
所以我知道它被添加到我的 PATH
变量。现在,当我尝试运行 adb
时,我发现它不存在。
-bash: ./adb: No such file or directory
This is very very frustrating. Could it be a problem with permissions? Has anyone had this problem with OSX and Android?