第一次在这里的android builder。我过去常常在 FreeBSD 上做很多自己的事情。用 android 回到极客世界。
我正在尝试为 Nexus 6 NBD90Z 构建 android-7.0.0_r14 以在仿真下运行。我计划最终为我的实际手机构建,这个配置非常接近。我正在构建 ubuntu 18.04 LTS,它比文档推荐的更新。也许这有点冒险。
这是我运行 make 时得到的结果。
... 剪断
build/core/base_rules.mk:316: warning: ignoring old commands for target
out/target/product/shamu/system/lib/soundfx/libqcomvoiceprocessing.so'
Starting build with ninja
ninja: Entering directory.'
ninja: warning: multiple rules generate out/target/product/shamu/system/etc/gps.conf. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
[ 0% 1/35600] Lex: libaidl-common <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
A core dump for flex was not produced in spite of the error message given.
out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp does not exist. That entire folder is empty. It would seem that something is not downloading/copying the aidl_language_l.cpp.
关于我可能搞砸的任何想法?
我仍然git/repo/make/ninja/soong/lunch
对进行构建的复杂性感到有些困惑。我很可能错过了一些明显的东西。
谢谢,杰森·C·威尔斯