根据 repo Issue 下载 SEAndroid for AOSP

Download SEAndroid for AOSP base on repo Issue

我参考this 下载SEAndroid但出现以下错误

Retrying clone after deleting None
error: Cannot fetch system-vold (GitError: --force-sync not enabled; cannot overwrite a local work tree)
Fetching project platform/external/libssh2
Exception in thread Thread-37: 
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
  File "/home/lee/seandroid-5.1.1/.repo/repo/subcmds/sync.py", line 254, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
  File "/home/lee/seandroid-5.1.1/.repo/repo/subcmds/sync.py", line 297, in _FetchHelper
optimized_fetch=opt.optimized_fetch)
  File "/home/lee/seandroid-5.1.1/.repo/repo/project.py", line 1144, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
  File "/home/lee/seandroid-5.1.1/.repo/repo/project.py", line 2198, in _InitGitDir
raise e
GitError: --force-sync not enabled; cannot overwrite a local work tree

Fetching projects:   7% (35/487)  
error: Exited sync due to fetch errors

请帮帮我

你可以查看你的repo的版本,最新版本是1.21,你可以试试旧版本。

从现在开始,要在旧版本上重写新版本的 repo,请使用:

repo sync --force-sync