我正在尝试将最新的AOSP(标记为android-p-preview-4)克隆回来。 但是,我总是遇到以下错误:
Fetching project platform/external/jsoncpp
Fetching projects: 100% (637/637), done.
Syncing work tree: 37% (236/637) error: failed to unpack compressed delta at offset 851713 from .git/objects/pack/pack-755d3172ff230697ac8d1579d8aeb6cc0f9d83ec.pack
fatal: packed object 44ca2e9774208d6ee4f889e7bf007e475976edcb (stored in .git/objects/pack/pack-755d3172ff230697ac8d1579d8aeb6cc0f9d83ec.pack) is corrupt
Traceback (most recent call last):
File "/hdd2/aosp/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/hdd2/aosp/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/hdd2/aosp/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/hdd2/aosp/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/hdd2/aosp/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/hdd2/aosp/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
我尝试过:
有人可以指出这里有什么问题吗?服务器错误吗?但是我成功完成了git clone。