首页
论坛
专栏
课程

[求助] AOSP 问题,repo sync的checkout环节报错

5天前 360

[求助] AOSP 问题,repo sync的checkout环节报错

5天前
360

想编译 android-7.1.2_r3,用的清华源,在最后的 checkout阶段报错,搜了一波也没搜到,希望前辈指点

 

系统环境:ubuntu 1604
aosp版本: android-7.1.2_r3

 

完整报错信息如下

Syncing work tree:  94% (498/529)Checking out project platform/prebuilts/qemu-kernel

error: The following untracked working tree files would be overwritten by checkout:
    NOTICE
    arm/LINUX_KERNEL_COPYING
    arm/README
    arm/kernel-qemu
    arm/kernel-qemu-armv7
    arm/ranchu/kernel-qemu
    arm/rebuild.sh
    arm/vmlinux-qemu
    arm/vmlinux-qemu-armv7
    arm64/LINUX_KERNEL_COPYING
    arm64/README
    arm64/kernel-qemu
    arm64/vmlinux-qemu
    build-kernel.sh
    kernel-toolchain/android-kernel-toolchain-ar
    kernel-toolchain/android-kernel-toolchain-as
    kernel-toolchain/android-kernel-toolchain-gcc
    kernel-toolchain/android-kernel-toolchain-ld
    kernel-toolchain/android-kernel-toolchain-nm
    kernel-toolchain/android-kernel-toolchain-objcopy
    kernel-toolchain/android-kernel-toolchain-objdump
    kernel-toolchain/android-kernel-toolchain-ranlib
    kernel-toolchain/android-kernel-toolchain-size
    kernel-toolchain/android-kernel-toolchain-strip
    kernel-toolchain/toolbox.sh
    mips/LINUX_KERNEL_COPYING
    mips/README
    mips/kernel-qemu
    mips/ranchu/LINUX_KERNEL_COPYING
    mips/ranchu/README
    mips/ranchu/kernel-qemu
    mips/ranchu/vmlinux-qemu
    mips/vmlinux-qemu
    mips64/LINUX_KERNEL_COPYING
    mips64/README
    mips64/kernel-qemu
    mips64/vmlinux-qemu
    x86/LINUX_KERNEL_COPYING
    x86/README
    x86/kernel-qemu
    x86/kernel-vbox
    x86/pc-bios/Android.mk
    x86/pc-bios/bios-256k.bin
    x86/pc-bios/bios.bin
    x86/pc-bios/efi-virtio.rom
    x86/pc-bios/kvmvapic.bin
    x86/pc-bios/linuxboot.bin
    x86/pc-bios/vgabios-cirrus.bin
    x86/ranchu/LINUX_KERNEL_COPYING
    x86/ranchu/README
    x86/ranchu/kernel-qemu
    x86/ranchu/vmlinux-qemu
    x86/vmlinux-qemu
    x86/vmlinux-vbox
    x86_64/LINUX_KERNEL_COPYING
    x86_64/README
    x86_64/kernel-qemu
    x86_64/ranchu/LINUX_KERNEL_COPYING
    x86_64/ranchu/README
    x86_64/ranchu/kernel-qemu
    x86_64/ranchu/vmlinux-qemu
Please move or remove them before you can switch branches.
Aborting
error: prebuilts/qemu-kernel/: platform/prebuilts/qemu-kernel checkout 1588a45be15f3365f58b0fbad429f7c6ec192dbf 
error: Cannot checkout platform/prebuilts/qemu-kernel


[招聘]欢迎市场人员加入看雪学院团队!

最后于 5天前 被wx_LU-S编辑 ,原因:
最新回复 (2)
jhyrathon 5天前
2
0
你本地有代码, 和sync的代码冲突了. 如果本地代码真的不想要了, rm -rf, 把.repo留着就能顺利sync
wx_LU-S 4天前
3
0
jhyrathon 你本地有代码, 和sync的代码冲突了. 如果本地代码真的不想要了, rm -rf, 把.repo留着就能顺利sync
在repo sync之前,文件夹是空的.. 所以应该是清华源的问题,我换了aosp官方,然后重新sync就没问题了,谢谢您了
最后于 4天前 被wx_LU-S编辑 ,原因:
游客
登录 | 注册 方可回帖
返回