sync无法初始化android,Repo sync正在引发错误GitError(“无法初始化工作树”)
当我执行时repo sync -c -j32, repo sync -l, repo sync -f -j32,我收到以下错误消息:Skipped fetching project platform/external/libnl (already have persistent ref) Fetching projects:99% (973/982) Fetching projects: 10..
当我执行时
repo sync -c -j32, repo sync -l, repo sync -f -j32
,我收到以下错误消息:
Skipped fetching project platform/external/libnl (already have persistent ref) Fetching projects: 99% (973/982) Fetching projects: 100% (982/982) Fetching projects: 100% (982/982), done. Syncing work tree: 69% (678/982)error: unable to read sha1 file of poky-glibc-x86_64-meta-toolchain-corei7-64-toolchain-2.4.1.sh (ee2a73e64b173391521a4497c01d2883f398a762) error: unable to read sha1 file of poky-glibc-x86_64-meta-toolchain-corei7-64-toolchain-2.4.2.sh (613f2c165509644875e261fcb853644a5f11702c) Traceback (most recent call last): File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 547, in
_Main(sys.argv[1:]) File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 522, in
_Main
result = repo._Run(argv) or 0 File "/data/home/shared/codebase/titan_q/.repo/repo/main.py", line 184, in
_Run
result = cmd.Execute(copts, cargs) File "/data/home/shared/codebase/titan_q/.repo/repo/subcmds/sync.py", line 863, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync) File "/data/home/shared/codebase/titan_q/.repo/repo/project.py", line 1379, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync, submodules=submodules) File "/data/home/shared/codebase/titan_q/.repo/repo/project.py", line 2587, in _InitWorkTree
raise GitError("cannot initialize work tree") error.GitError: cannot initialize work tree
那是什么意思?我该怎么解决?
更多推荐
所有评论(0)