使用
git clone https://android.googlesource.com/platform/prebuilts/eclipse.git eclipse -b jb-mr2-dev
这个命令来下载eclipse 不知道为啥 总是到
Cloning into 'eclipse'...
remote: Sending approximately 252.37 MiB ...
remote: Counting objects: 31, done
remote: Finding sources: 100% (31/31)
Unpacking objects: 90% (49/54)
这样就卡到这里,就一直不动了,不知道为什么回头换个网络试试
同样的还有
git clone https://android.googlesource.com/platform/prebuilts/eclipse-build-deps.git eclipse-build-deps
git clone https://android.googlesource.com/platform/prebuilts/eclipse-build-deps-sources.git eclipse-build-deps-sources
这两个和eclipse相关的下载命令
这三个命令在windows和linux下用git clone都下载不下来,但是奇怪的是使用
repo sync prebuilts/eclipse
这个命令却发现能够下载下来,具体尚未查出来是神马原因。
repo sync prebuilts/eclipse-build-deps-sources
由于这个项目
https://android.googlesource.com/platform/prebuilts/eclipse-build-deps-sources/
说明是空的项目,并且发现用git clone也可以下载,但是用 repo sync就会报错了,但至少能够有一种方法能够下载下来了
但是使用
repo sync prebuilts/eclipse-build-deps
这个命令的话 直接 repo报错了,不知道为什么
而用git clone 又一致停在upacking 里面,现在尚不知如何将其下载下来
root@ubuntu:~/android/repotest# repo sync prebuilts/eclipse-build-deps
Traceback (most recent call last):
File "/root/android/repotest/.repo/repo/main.py", line 414, in
_Main(sys.argv[1:])
File "/root/android/repotest/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/root/android/repotest/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/root/android/repotest/.repo/repo/subcmds/sync.py", line 579, in Execute
submodules_ok=opt.fetch_submodules)
File "/root/android/repotest/.repo/repo/command.py", line 180, in GetProjects
raise InvalidProjectGroupsError(arg)
error.InvalidProjectGroupsError