Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的根分区空间不足,想将 android-sdk 目录从 /opt 移动到 /home。
我怎么做?我需要添加什么到 .bashrc 才能让 android SDK 知道新路径?
只需在 ~/.bashrc 文件中设置新路径:
export PATH=${PATH}:~/android-sdk-directory
然后你可以直接在控制台中设置:
source ~/.bashrc
使更改生效。