min*_*haz 14 git ubuntu android repository android-source
我想我非常认真地遵循这个网站的指示
http://source.android.com/source/downloading.html
但是当我试试这个
repo init -u https://android.googlesource.com/platform/manifest
Run Code Online (Sandbox Code Playgroud)
我收到以下错误.
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`
Run Code Online (Sandbox Code Playgroud)
我试了好几次,但从一开始就没有运气.发生了什么?
J-1*_*DiZ 16
检查你的repo文件.
有时服务器会返回"服务器加载太高"页面而不是给你repo脚本.在这种情况下,您必须repo再次下载文件.
或者,您可以repo从git 获取源代码:
git clone https://android.googlesource.com/tools/repo
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
21187 次 |
| 最近记录: |