下载Android8.1.0_R20。下载45后,会发生此错误。
终端中的错误消息:
error: libcore/: platform/libcore checkout ed54621bf38a761388fe5ea56d71c64befaa9f40
error: Cannot checkout platform/libcore
Checking out: 100% (592/592), done in 15m55.329s
error: Unable to fully sync the tree.
error: Checking out local projects failed.
Failing repos:
external/libunwind
external/kmod
frameworks/compile/slang
external/autotest
libcore
Try re-running with "-j1 --fail-fast" to exit at the first error.此git标记https://android.googlesource.com/platform/libcore/+/refs/tags/android-8.1.0_r20的源链接。
谁能告诉我怎么解决这个问题吗?
发布于 2021-11-29 17:00:16
此问题可能是由于您正在下载代码的驱动器的分区类型造成的。请确保驱动器分区类型是(即ext4)。
发布于 2021-11-24 22:22:04
这很奇怪,但当我尝试将Ubuntu PC上的AOSP同步到外部usb驱动器时,就会出现这样的问题,但是将主驱动器同步到主目录可以很好。
此外,要复制这样的问题,只需克隆上述的一个repos,例如libcore。
$ git clone https://android.googlesource.com/platform/libcore -b android-11.0.0_r45然后用git status检查一下,
浅谈主驱动器
$ git status
Not currently on any branch.
nothing to commit, working tree clean外接usb-ssd驱动
$ git status
Not currently on any branch.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: Android.bp
deleted: AndroidTest-core-tests.xml
deleted: CleanSpec.mk
deleted: JavaLibrary.bp
deleted: LICENSE
deleted: NOTICE
...
<6590 other deleted files>
...
Untracked files:
(use "git add <file>..." to include in what will be committed)
Android.bp
AndroidTest-core-tests.xml
CleanSpec.mk
JavaLibrary.bp
LICENSE
...
<total 34 untracked files>
...
xml/摘要:--如果您使用外部驱动器克隆AOSP --尝试将其插入主驱动器(主目录)。
https://stackoverflow.com/questions/70100742
复制相似问题