5 同步全套源代码
$ repo sync
问题:命令执行过程中可能会报错:
fatal: ‘../platform/abi/cpp.git‘ does not appear to be a git repository
fatal: The remote end hung up unexpectedly
error: Cannot fetch platform/abi/cpp
解决办法:
进入WORKING_DIRECTORY,显示隐藏文件,可看到.repo目录并打开manifest.xml里,找到fetch属性,并修改为:
fetch= "git://Android.git.linaro.org