0

尝试根据以下说明从 Pixel 4 XL 的源代码构建 Android Automotive OS: https ://source.android.com/devices/automotive/start/pixelxl#code-sync-and-build

在 MacOS Big Sur 11.2 上尝试这个;

使用以下调用: repo sync -j8 -c -v (8 个作业线程,结帐,详细)

它会一直挂Checking out: 38% (288/748) platform/hardware/ti/am57x
我知道它挂了,因为 CPU 使用率git-remote-https已经从 99%(8 次)下降到零。

我已经尝试(没有成功)使用以下方法修复特定的存储库:

$ cd platform/hardware/ti/am57x
$ git status
Not currently on any branch.
nothing to commit, working tree clean
$ git branch -r
  m/android-10.0.0_r40 -> tags/android-10.0.0_r40
$ git checkout -b android-10.0.0_r40 m/android-10.0.0_r40
Switched to a new branch 'android-10.0.0_r40'

我很确定这会解决问题,但下一个repo sync挂在同一个地方,并给出以下消息: hardware/ti/am57x/: leaving android-10.0.0_r40; does not track upstream

欢迎任何帮助。

4

0 回答 0