我正在尝试从 Google 代码同步 AOSP 代码,但收到错误,但关于问题原因的信息很少。
$ repo init --partial-clone -b main -u https://android.googlesource.com/platform/manifest -groups=all,-notdefault,-device,-darwin
repo has been initialized in /home/user/projects/aosp
$ repo sync
Fetching: 0, done in 0.007s
Fetching: 0,================================================================================
Repo command failed: RepoUnhandledExceptionError
Number of processes must be at least 1
问题只是命令行上的
-
选项中缺少一个破折号 groups
。应该是 --groups
或 -g
。