几天前我制作了一个 AOSP 版本 7.1.1,它运行良好。今天我决定做一个干净的构建(make clean
)并开始工作。之后,当我尝试编译make otapackage
一段时间后,它给了我以下错误。
[ 44% 7552/17136] build out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c
FAILED: /bin/bash -c "external/iw/version.sh out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c"
fatal: No names found, cannot describe anything.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:39:34 (hh:mm:ss)) ####
每次,都是一样的。有什么解决办法吗?