Android源码编译问题:
/bin/bash: prebuilts/misc/linux-x86/bison/bison: 没有那个文件或目录No such file or directory
build/core/binary.mk:609: recipe for target 'out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp' failed
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Error 127
解决方法:
<1>sudo apt-get install bison
安装之后可能还会报错、/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory 。原因可能是某些其他安装包没有安装
<2>sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev