幾天前我做了一個AOSP build 7.1.1,它運行良好。今天,我決定做一個乾淨的版本(make clean
)並開始工作。之後,當我在一段時間後嘗試編譯make otapackage
時,它給了我下面的錯誤。AOSP構建錯誤:EXECUTABLES/iw_intermediates/version.c
[ 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)) ####
每次都是一樣的。任何解決方案