repo: command not found。

建立一个工程目录,随便MKDIR一个目录就可以了,然后再进入到你要下载源码的目录,完事之后就再将andoid源码下载到你刚才建立的目录下面。
     repo-init -u git://android.git.kernel.org/platform/manifest -b master
做到这一步的时候出现repo: command not found。
重复多次仍然是repo: command not found,我检查了一下我的命令,看起来也没错呀,这倒底是怎么回事呢。
我的解决办法是要在~目录下建立bin与android,而不是其它地方,否则会出现问题,~目录实际上就是用户登录进入的目录
the reason is : folder bin is not in your evironment path, export it. will be ok.
后来经过多方面查找才发现还须要设置。方法如下。
 jianhui.jin@echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
 jianhui.jin@export PATH=$PATH:$HOME/bin
然后再来
  -init -u git://android.git.kernel.org/platform/manifest -b master
posted @ 2012-01-01 09:03  googlegis  阅读(11358)  评论(1编辑  收藏  举报

坐标合肥,非典型GIS开发人员 GitHub