问题在在Ubuntu Android SDK中设置路径 [英] Problem in setting path for android sdk in ubuntu
本文介绍了问题在在Ubuntu Android SDK中设置路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
出口PATH = $ {/家庭/莫希特/}:其中,Android的SDK-linux_86> /工具
这是我在用的。
错误: -
庆典:PATH = $ {/家庭/莫希特/} ::坏替代
这是SDK的路径
莫希特@莫希特 - 笔记本电脑:〜/ Android的SDK-linux_86 $ PWD
/家庭/莫希特/ Android的SDK-linux_86
解决方案
通常你会使用
出口PATH = $ {PATH}:其中,添加的路径这里>
尝试,追加到$ PATH变量,或者只是删除$ {}和直接设置它,如果你想更换。同时请记住,除非你添加到您的.bashrc或者.bash_profile中或等效的脚本这种改变不是永久的。您可以通过重新加载它们。
源的.bash_profile
而无需重新登录命令。
export PATH=${/home/mohit/}:<android-sdk-linux_86>/tools
this is what i am using..
error:--
bash: PATH=${/home/mohit/}:: bad substitution
this is the path of sdk
mohit@mohit-laptop:~/android-sdk-linux_86$ pwd
/home/mohit/android-sdk-linux_86
解决方案
Typically you will use
export PATH=${PATH}:<added path here>
try that, to append to your $PATH variable, or just remove the ${} and set it directly, if you wish to replace it. Also keep in mind, this change is not permanent unless you add this to your .bashrc or .bash_profile or equivalent scripts. You can reload them with the
source .bash_profile
command without having to re-login.
这篇关于问题在在Ubuntu Android SDK中设置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文