我想我非常仔细地遵循该网站的说明
http://source.android.com/source/downloading.html http://source.android.com/source/downloading.html
但是当我尝试这个时
repo init -u https://android.googlesource.com/platform/manifest
我收到以下错误。
repo init -u https://android.googlesource.com/platform/manifest -b froyo
/root/bin/repo: line 1: syntax error near unexpected token `newline'
/root/bin/repo: line 1: `<?xml version="1.0" encoding="utf-8"?>'enter code here`
我尝试了几次,但从一开始就没有运气。发生了什么?
检查你的repo
file.
有时,服务器会返回“服务器加载过高”页面,而不是给您repo
脚本。在这种情况下,您必须下载repo
再次归档。
或者,您可以获得以下来源repo
来自 git:
git clone https://android.googlesource.com/tools/repo
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)