On Linux, edit your
~/.bash_profile or
~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the
tools/ directory to it. If you don't see a line setting the path, you can add one:
export PATH=${PATH}:<your_sdk_dir> /tools On a Mac OS X, look in your home directory for
.bash_profile and proceed as for Linux. You can create the
.bash_profile if you haven't already set one up on your machine. On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the
tools/ directory to the path.
本文介绍如何在不同操作系统中配置SDK路径,包括Linux、MacOSX和Windows。通过编辑配置文件或系统属性来设置环境变量,确保开发工具能够被正确调用。
2469

被折叠的 条评论
为什么被折叠?



