➜ android source build/envsetup.sh && lunch ceres_c3-eng
including device/softwinner/common/vendorsetup.sh
dirname: missing operand
Try 'dirname --help' for more information.
vendor_env_setup:9: no matches found: //../*/device/config/chips
vendor_env_setup:13: no matches found: ${longan_path_list[@]}
Error fetch build system for kernel!
PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 TARGET_PRODUCT=ceres_c3 TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.13.0-52-generic-x86_64-Ubuntu-20.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out
重装 Ubuntu 20.04 后,解压一样的安卓 10 源码,执行上面的命令时报错了。
虽然有错误,但是可以成功编译, 但生成的镜像没有 adb
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.