Android Repo初始化失败

| 我想我非常仔细地遵循了本网站的指示 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
文件。 有时,服务器会返回“服务器负载过高”页面,而不是给您“ѭ2”脚本。在这种情况下,您必须重新下载
repo
文件。 或者,您可以从git获取
repo
的来源:
git clone https://android.googlesource.com/tools/repo
    

要回复问题请先登录注册