问题描述
尝试从 Pixel 4 XL 的源代码构建 Android 汽车操作系统,按照以下说明: 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
我知道它挂了,因为 git-remote-https
的 cpu 使用率已从 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
欢迎任何帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)